DeploymentScriptDomStep 类

Base class for script based deployment steps. Represents a deployment step that consists of an Abstract Syntax Tree (AST) and reference to a script Domain Object Model (DOM) generator. This class is for read-only purpose.

继承层次结构

System.Object
  Microsoft.SqlServer.Dac.Deployment.DeploymentStep
    Microsoft.SqlServer.Dac.Deployment.DeploymentStepInternal
      Microsoft.SqlServer.Dac.Deployment.DeploymentScriptDomStep
        更多信息...

命名空间:  Microsoft.SqlServer.Dac.Deployment
程序集:  Microsoft.SqlServer.Dac.Extensions(在 Microsoft.SqlServer.Dac.Extensions.dll 中)

语法

声明
Public Class DeploymentScriptDomStep _
    Inherits DeploymentStepInternal
用法
Dim instance As DeploymentScriptDomStep
public class DeploymentScriptDomStep : DeploymentStepInternal
public ref class DeploymentScriptDomStep : public DeploymentStepInternal
type DeploymentScriptDomStep =  
    class 
        inherit DeploymentStepInternal 
    end
public class DeploymentScriptDomStep extends DeploymentStepInternal

DeploymentScriptDomStep 类型公开以下成员。

属性

  名称 说明
公共属性 IsMessageInFirstBatch Returns true if the step's message will be the first batch when calling GenerateTSql()
公共属性 Message Gets an optional message describing the step
公共属性 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.
公共属性 ScriptGenerator Gets the ScriptGenerator for this 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 命名空间

继承层次结构

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.CreateElementStep
        Microsoft.SqlServer.Dac.Deployment.DacDeleteFromTablesStep
        Microsoft.SqlServer.Dac.Deployment.DacDisableForeignKeysStep
        Microsoft.SqlServer.Dac.Deployment.DacRestoreConstraintsStep
        Microsoft.SqlServer.Dac.Deployment.DacSaveConstraintsStep
        Microsoft.SqlServer.Dac.Deployment.DropElementStep
        Microsoft.SqlServer.Dac.Deployment.SqlChangeDatabaseStep
        Microsoft.SqlServer.Dac.Deployment.SqlCreateDatabaseStep
        Microsoft.SqlServer.Dac.Deployment.SqlCreateTrackingTableStep
        Microsoft.SqlServer.Dac.Deployment.SqlDropDatabaseStep
        Microsoft.SqlServer.Dac.Deployment.SqlDropTrackingTableStep
        Microsoft.SqlServer.Dac.Deployment.SqlFinalizeDatabaseAccessStep
        Microsoft.SqlServer.Dac.Deployment.SqlMoveSchemaStep
        Microsoft.SqlServer.Dac.Deployment.SqlPrintStep
        Microsoft.SqlServer.Dac.Deployment.SqlRenameStep