DeploymentPlanModifier を実装する具象クラスは、そのクラス定義に ExportDeploymentPlanModifierAttribute 属性を追加する必要があります。 これにより、これらの具象クラスは、SQL の配置中に検出されて使用できるようになります。 DeploymentPlanModifier には一意の ID が必要です。この ID は完全修飾型名を基に作成するか、明示的に文字列として渡すことができます。
継承階層
ExportStandardMetadataAttribute
Microsoft.SqlServer.Dac.Deployment.ExportDeploymentPlanModifierAttribute
名前空間: Microsoft.SqlServer.Dac.Deployment
アセンブリ: Microsoft.SqlServer.Dac.Extensions (Microsoft.SqlServer.Dac.Extensions.dll)
構文
'宣言
<MetadataAttributeAttribute> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public Class ExportDeploymentPlanModifierAttribute _
Inherits ExportStandardMetadataAttribute
'使用
Dim instance As ExportDeploymentPlanModifierAttribute
[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public class ExportDeploymentPlanModifierAttribute : ExportStandardMetadataAttribute
[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class ExportDeploymentPlanModifierAttribute : public ExportStandardMetadataAttribute
[<MetadataAttributeAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
type ExportDeploymentPlanModifierAttribute =
class
inherit ExportStandardMetadataAttribute
end
public class ExportDeploymentPlanModifierAttribute extends ExportStandardMetadataAttribute
コンストラクター
| 名前 | 説明 | |
|---|---|---|
![]() |
ExportDeploymentPlanModifierAttribute(String, String) | ExportDeploymentPlanModifierAttribute を初期化します。 |
![]() |
ExportDeploymentPlanModifierAttribute(Type, String) | ExportDeploymentPlanModifierAttribute を初期化します。 |
先頭に戻る
スレッド セーフ
この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
.gif)