DtsPipelineComponentAttribute 類別

Contains design-time information about a PipelineComponent object.

命名空間:  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

備註

This attribute is applied to managed data flow components that derive from PipelineComponent. The attribute identifies a class as a managed data flow component and provides information through its properties that controls how the SSIS Designer displays and interacts with the object.

範例

The following example shows a managed data flow component that implements this attribute.

[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

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。