次の方法で共有


DtsPipelineComponentAttribute クラス

PipelineComponent オブジェクトに関するデザイン時の情報が含まれます。

名前空間:  Microsoft.SqlServer.Dts.Pipeline
アセンブリ:  Microsoft.SqlServer.PipelineHost (Microsoft.SqlServer.PipelineHost.dll)

構文

'宣言
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := False, AllowMultiple := False)> _
Public Class DtsPipelineComponentAttribute _
    Inherits DtsLocalizableAttribute
'使用
Dim instance As DtsPipelineComponentAttribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class DtsPipelineComponentAttribute : DtsLocalizableAttribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = false, AllowMultiple = false)]
public ref class DtsPipelineComponentAttribute : public DtsLocalizableAttribute
[<AttributeUsageAttribute(AttributeTargets.Class, Inherited = false, AllowMultiple = false)>]
type DtsPipelineComponentAttribute =  
    class
        inherit DtsLocalizableAttribute
    end
public class DtsPipelineComponentAttribute extends DtsLocalizableAttribute

説明

この属性は、PipelineComponent から派生したマネージ データ フロー コンポーネントに適用されます。この属性は、クラスをマネージ データ フロー コンポーネントとして特定し、クラスのプロパティを介して情報を提供します。このプロパティによって、SSIS デザイナのオブジェクトの表示方法およびオブジェクトとの連携方法が制御されます。

使用例

次の例は、この属性を実装するマネージ データ フロー コンポーネントを示しています。

[DtsPipelineComponent(DisplayName="MyComponent", ComponentType=ComponentType.Transform)]
public class MyComponent: PipelineComponent
{}
DtsPipelineComponent(DisplayName="MyComponent", ComponentType=ComponentType.Transform)> _ 
Public Class MyComponent 
Inherits PipelineComponent 
End Class

継承階層

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.SqlServer.Dts.Pipeline.Localization. . :: . .DtsLocalizableAttribute
      Microsoft.SqlServer.Dts.Pipeline..::..DtsPipelineComponentAttribute

スレッド セーフ

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