Класс SqlRenameStep

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Dac.Deployment
Сборка:  Microsoft.SqlServer.Dac.Extensions (в Microsoft.SqlServer.Dac.Extensions.dll)

Синтаксис

'Декларация
Public NotInheritable Class SqlRenameStep _
    Inherits DeploymentScriptDomStep
'Применение
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

Тип SqlRenameStep обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство IsMessageInFirstBatch Returns true if the step's message will be the first batch when calling GenerateTSql() (Производный от DeploymentScriptDomStep.)
Открытое свойство Message Gets an optional message describing the step (Производный от 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. (Производный от 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. (Производный от DeploymentStep.)
Открытое свойство RenamedElement Gets the renamed object
Открытое свойство Script Gets the script for this step. (Производный от DeploymentScriptDomStep.)
Открытое свойство ScriptGenerator Gets the ScriptGenerator for this step (Производный от DeploymentScriptDomStep.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Открытый метод GenerateBatchScript Returns a helper that writes the set of batch scripts to the provided writer. (Производный от DeploymentStep.)
Открытый метод GenerateTSQL Returns a list of strings that represent a set of TSQL script batches to be applied during deployment (Производный от DeploymentStepInternal.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод ToString Returns a string that describes this step. The base returns the type of the step (Производный от DeploymentStepInternal.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dac.Deployment