Represents the concrete classes implementing DeploymentPlanExecutor must add the ExportDeploymentPlanExecutorAttribute attribute to their class definition. This ensures they will be detected and available for use during SQL Deployment. DeploymentPlanExecutors require a unique ID which can be based on their fully qualified type name, or explicitly passed as a string.
继承层次结构
ExportStandardMetadataAttribute
Microsoft.SqlServer.Dac.Deployment.ExportDeploymentPlanExecutorAttribute
命名空间: Microsoft.SqlServer.Dac.Deployment
程序集: Microsoft.SqlServer.Dac.Extensions(在 Microsoft.SqlServer.Dac.Extensions.dll 中)
语法
声明
<MetadataAttributeAttribute> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public Class ExportDeploymentPlanExecutorAttribute _
Inherits ExportStandardMetadataAttribute
用法
Dim instance As ExportDeploymentPlanExecutorAttribute
[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public class ExportDeploymentPlanExecutorAttribute : ExportStandardMetadataAttribute
[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class ExportDeploymentPlanExecutorAttribute : public ExportStandardMetadataAttribute
[<MetadataAttributeAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
type ExportDeploymentPlanExecutorAttribute =
class
inherit ExportStandardMetadataAttribute
end
public class ExportDeploymentPlanExecutorAttribute extends ExportStandardMetadataAttribute
构造函数
名称 | 说明 | |
---|---|---|
![]() |
ExportDeploymentPlanExecutorAttribute(String, String) | Initializes a new instance of the ExportDeploymentPlanExecutorAttribute class. |
![]() |
ExportDeploymentPlanExecutorAttribute(Type, String) | Initializes a new instance of the ExportDeploymentPlanExecutorAttribute class. |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。