Sdílet prostřednictvím


DtsPipelineComponentAttribute Class

Contains design-time information about a PipelineComponent object.

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := False, AllowMultiple := False)> _
Public Class DtsPipelineComponentAttribute _
    Inherits DtsLocalizableAttribute
'Usage
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

Remarks

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.

Examples

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

Inheritance Hierarchy

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.