DeploymentScriptDomStep 类

定义

基于脚本的部署步骤的基类。 表示一个部署步骤,该步骤由抽象语法树(AST)和对脚本域对象模型(DOM)生成器的引用组成。 此类用于只读目的。

public class DeploymentScriptDomStep : Microsoft.SqlServer.Dac.Deployment.DeploymentStepInternal
type DeploymentScriptDomStep = class
    inherit DeploymentStepInternal
Public Class DeploymentScriptDomStep
Inherits DeploymentStepInternal
继承
DeploymentScriptDomStep
派生

属性

名称 说明
IsMessageInFirstBatch

如果步骤的消息是调用 GenerateTSql 时的第一批,则返回 true

Message

获取描述步骤的可选消息

Next

获取容器中的下一 LinkedListNode<T> 步,该容器的类型为 DeploymentStep。

(继承自 DeploymentStep)
Previous

获取容器中的上一 LinkedListNode<T> 步,该步骤属于 DeploymentStep 类型。

(继承自 DeploymentStep)
Script

获取此步骤的脚本。

ScriptGenerator

获取此步骤的 ScriptGenerator

方法

名称 说明
GenerateBatchScript(TextWriter)

将批处理脚本集写入提供的编写器的帮助程序

(继承自 DeploymentStep)
GenerateTSQL()

返回一个字符串列表,这些字符串表示在部署期间要应用的一组 TSQL 脚本批处理

(继承自 DeploymentStepInternal)
ToString()

返回描述此步骤的字符串。 基返回步骤的类型

(继承自 DeploymentStepInternal)

适用于