Condividi tramite


Classe SqlRenameStep

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

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.Dac.Deployment.DeploymentStep
    Microsoft.SqlServer.Dac.Deployment.DeploymentStepInternal
      Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
        Microsoft.SqlServer.Dac.Deployment.SqlRenameStep

Spazio dei nomi  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class SqlRenameStep _
    Inherits DeploymentScriptDomStep
'Utilizzo
Dim instance As SqlRenameStep
public sealed class SqlRenameStep : DeploymentScriptDomStep
public ref class SqlRenameStep sealed : public DeploymentScriptDomStep
[<SealedAttribute>]
type SqlRenameStep =  
    class 
        inherit DeploymentScriptDomStep 
    end
public final class SqlRenameStep extends DeploymentScriptDomStep

Nel tipo SqlRenameStep sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica IsMessageInFirstBatch Returns true if the step's message will be the first batch when calling GenerateTSql() Ereditato da DeploymentScriptDomStep.
Proprietà pubblica Message Gets an optional message describing the step Ereditato da DeploymentScriptDomStep.
Proprietà pubblica NewName Gets the new name of the object
Proprietà pubblica Next Gets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep. Ereditato da DeploymentStep.
Proprietà pubblica OldName Gets the old name of the object
Proprietà pubblica Previous Gets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep. Ereditato da DeploymentStep.
Proprietà pubblica RenamedElement Gets the renamed object
Proprietà pubblica Script Gets the script for this step. Ereditato da DeploymentScriptDomStep.
Proprietà pubblica ScriptGenerator Gets the ScriptGenerator for this step Ereditato da DeploymentScriptDomStep.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GenerateBatchScript Returns a helper that writes the set of batch scripts to the provided writer. Ereditato da DeploymentStep.
Metodo pubblico GenerateTSQL Returns a list of strings that represent a set of TSQL script batches to be applied during deployment Ereditato da DeploymentStepInternal.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico ToString Returns a string that describes this step. The base returns the type of the step Ereditato da DeploymentStepInternal.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Dac.Deployment