DeploymentScriptGenerator 类
表示部署脚本生成器的基实现。 默认情况下,此实现用于在部署过程中根据部署计划生成部署脚本。
继承层次结构
System.Object
Microsoft.Data.Schema.Build.DeploymentContributor
Microsoft.Data.Schema.Build.DeploymentPlanContributor
Microsoft.Data.Schema.Build.DeploymentPlanExecutor
Microsoft.Data.Schema.Build.DeploymentScriptGenerator
命名空间: Microsoft.Data.Schema.Build
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Class DeploymentScriptGenerator _
Inherits DeploymentPlanExecutor
public class DeploymentScriptGenerator : DeploymentPlanExecutor
public ref class DeploymentScriptGenerator : public DeploymentPlanExecutor
type DeploymentScriptGenerator =
class
inherit DeploymentPlanExecutor
end
public class DeploymentScriptGenerator extends DeploymentPlanExecutor
DeploymentScriptGenerator 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
DeploymentScriptGenerator | 初始化 DeploymentScriptGenerator 类的新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
Canceled | 获取一个值,该值指示是否取消了参与者。 (继承自 DeploymentContributor。) | |
ExtensionHandle | 获取此扩展的句柄。 (继承自 DeploymentPlanExecutor。) | |
ScriptOutput | 获取可编写脚本的文本编写器对象。 |
页首
方法
名称 | 说明 | |
---|---|---|
Cancel | 取消执行参与者。 (继承自 DeploymentContributor。) | |
Dispose() | 释放资源。 (继承自 DeploymentContributor。) | |
Dispose(Boolean) | 释放资源。 (重写 DeploymentContributor.Dispose(Boolean)。) | |
Equals | 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。) | |
Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | |
GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | |
GetType | 获取当前实例的 Type。 (继承自 Object。) | |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | |
OnApplyDeploymentConfiguration | 由 Visual Studio 中的部署过程调用,使代码可以从提供的文件中收集配置信息。 (继承自 DeploymentContributor。) | |
OnEstablishDeploymentConfiguration | 由 Visual Studio 中的部署过程调用,使代码可以修改部署配置。 (继承自 DeploymentContributor。) | |
OnExecute | (重写 DeploymentPlanContributor.OnExecute(DeploymentPlanContributorContext)。) | |
OnPopulateArguments | 由 Visual Studio Application Lifecycle Management (ALM) 部署引擎调用,以允许自定义参与者填充命令行参数。 (继承自 DeploymentPlanContributor。) | |
PublishMessage | 将消息发布到部署引擎。部署引擎将处理该消息并将其报告给使用方。 (继承自 DeploymentContributor。) | |
SetExtensionHandle | 设置此扩展的句柄值。 (继承自 DeploymentPlanExecutor。) | |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。