共用方式為


AlterElementStep 類別

A step in a deployment plan that represent an alter to an 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.AlterElementStep
          Microsoft.SqlServer.Dac.Deployment.SqlTableMigrationStep

命名空間:  Microsoft.SqlServer.Dac.Deployment
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public Class AlterElementStep _
    Inherits DeploymentScriptDomStep
'用途
Dim instance As AlterElementStep
public class AlterElementStep : DeploymentScriptDomStep
public ref class AlterElementStep : public DeploymentScriptDomStep
type AlterElementStep =  
    class 
        inherit DeploymentScriptDomStep 
    end
public class AlterElementStep extends DeploymentScriptDomStep

AlterElementStep 型別公開下列成員。

屬性

  名稱 說明
公用屬性 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。)
公用屬性 Next Gets the next step in the container, which is a LinkedListNode<T> of type DeploymentStep. (繼承自 DeploymentStep。)
公用屬性 Previous Gets the previous step in the container, which is a LinkedListNode<T> of type DeploymentStep. (繼承自 DeploymentStep。)
公用屬性 Script Gets the script for this step. (繼承自 DeploymentScriptDomStep。)
公用屬性 ScriptGenerator Gets the ScriptGenerator for this step (繼承自 DeploymentScriptDomStep。)
公用屬性 SourceElement Get the source element in the alter step
公用屬性 TargetElement Gets the target element in the alter step

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 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。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString Returns a string that describes this step. The base returns the type of the step (繼承自 DeploymentStepInternal。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dac.Deployment 命名空間