DeploymentScriptStep 类

表示部署计划中包含字符串(而不是抽象语法树 (AST))形式脚本的步骤。

继承层次结构

System.Object
  Microsoft.Data.Schema.Build.DeploymentStep
    Microsoft.Data.Schema.Build.DeploymentScriptStep
      Microsoft.Data.Schema.Sql.Build.SqlBeginTransactionStep
      Microsoft.Data.Schema.Sql.Build.SqlEndTransactionStep

命名空间:  Microsoft.Data.Schema.Build
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Public Class DeploymentScriptStep _
    Inherits DeploymentStep
public class DeploymentScriptStep : DeploymentStep
public ref class DeploymentScriptStep : public DeploymentStep
type DeploymentScriptStep =  
    class
        inherit DeploymentStep
    end
public class DeploymentScriptStep extends DeploymentStep

DeploymentScriptStep 类型公开以下成员。

构造函数

  名称 说明
公共方法 DeploymentScriptStep 初始化 DeploymentScriptStep 类的新实例。

页首

属性

  名称 说明
公共属性 Next 获取容器中的下一步骤,该步骤为类型为 DeploymentStepLinkedListNode<T>。 (继承自 DeploymentStep。)
公共属性 Previous 获取容器中的上一步骤,该步骤为类型为 DeploymentStepLinkedListNode<T>。 (继承自 DeploymentStep。)
公共属性 Text

页首

方法

  名称 说明
公共方法 Action 在此部署脚本步骤中执行的操作。 (重写 DeploymentStep.Action()。)
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回一个描述此步骤的字符串。 (继承自 DeploymentStep。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.Data.Schema.Build 命名空间