次の方法で共有


ExportDeploymentPlanExecutorAttribute クラス

DeploymentPlanExecutor を実装する具象クラスは、そのクラス定義に ExportDeploymentPlanExecutorAttribute 属性を追加する必要があります。 これにより、これらの具象クラスは、SQL の配置中に検出されて使用できるようになります。 DeploymentPlanExecutor には一意の ID が必要です。この ID は完全修飾型名を基に作成するか、明示的に文字列として渡すことができます。

継承階層

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) ExportDeploymentPlanExecutorAttribute を初期化します。
パブリック メソッド ExportDeploymentPlanExecutorAttribute(Type, String) ExportDeploymentPlanExecutorAttribute を初期化します。

先頭に戻る

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.SqlServer.Dac.Deployment 名前空間