SqlDropDatabaseStep Class

Definition

The step in deployment that represents database drop. This class is for read-only purpose and cannot be instantiated.

public sealed class SqlDropDatabaseStep : Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
type SqlDropDatabaseStep = class
    inherit DeploymentScriptDomStep
Public NotInheritable Class SqlDropDatabaseStep
Inherits DeploymentScriptDomStep
Inheritance

Properties

IsMessageInFirstBatch

Returns true if the step's message will be the first batch when calling GenerateTSql()

(Inherited from DeploymentScriptDomStep)
Message

Gets an optional message describing the step

(Inherited from DeploymentScriptDomStep)
Next

Gets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep.

(Inherited from DeploymentStep)
Previous

Gets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep.

(Inherited from DeploymentStep)
Script

Gets the script for this step.

(Inherited from DeploymentScriptDomStep)
ScriptGenerator

Gets the ScriptGenerator for this step

(Inherited from DeploymentScriptDomStep)

Methods

GenerateBatchScript(TextWriter)

Helper that writes the set of batch scripts to the provided writer

(Inherited from DeploymentStep)
GenerateTSQL()

Returns a list of strings that represent a set of TSQL script batches to be applied during deployment

(Inherited from DeploymentStepInternal)
ToString()

Returns a string that describes this step. The base returns the type of the step

(Inherited from DeploymentStepInternal)

Applies to