共用方式為


SqlRenameStep Class

Definition

Represents a step in the deployment plan that renames a element. This class is for read-only purpose and cannot be instantiated.

public sealed class SqlRenameStep : Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
type SqlRenameStep = class
    inherit DeploymentScriptDomStep
Public NotInheritable Class SqlRenameStep
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)
NewName

Gets the new name of the object

Next

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

(Inherited from DeploymentStep)
OldName

Gets the old name of the object

Previous

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

(Inherited from DeploymentStep)
RenamedElement

Gets the renamed object

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