共用方式為


DropElementStep Class

Definition

A step in deployment step that represents dropping a sql object. This class is for read-only purpose and cannot be instantiated.

public class DropElementStep : Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
type DropElementStep = class
    inherit DeploymentScriptDomStep
Public Class DropElementStep
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)
TargetElement

Gets the target element

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