DtsPipelineComponentAttribute 类

Contains design-time information about a PipelineComponent object.

继承层次结构

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

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

DtsPipelineComponentAttribute 类型公开以下成员。

构造函数

  名称 说明
公共方法 DtsPipelineComponentAttribute Initializes a new instance of the DtsPipelineComponentAttribute class.

页首

属性

  名称 说明
公共属性 ComponentType Identifies a component as a source, destination, or transformation.
公共属性 CurrentVersion Gets or sets the version of the component.
公共属性 Description Gets or sets the description of the DtsLocalizableAttribute. (从 DtsLocalizableAttribute 继承。)
公共属性 DisplayName Gets or sets the display name of the DtsLocalizableAttribute. (从 DtsLocalizableAttribute 继承。)
公共属性 HelpCollection Gets or sets the help collection from which to retrieve the help.
公共属性 HelpKeyword Gets or sets the help keyword associated with the component.
公共属性 IconResource Gets or sets the icon used to represent the component in the toolbox.
公共属性 LocalizationType Gets or sets the class that supplies values for the DtsLocalizableAttribute. (从 DtsLocalizableAttribute 继承。)
公共属性 NoEditor Gets or sets a value indicating whether the Advanced Properties editor is available for the component.
公共属性 RequiredProductLevel Gets or sets a value indicating the required SQL Server 2005 product level for the data flow component.
公共属性 SamplesTag Gets or sets the samples tag from the component.
公共属性 ShapeProgID Gets or sets the designer shape of the component.
公共属性 SupportsBackPressure Identifies the component as one that supports more than one input, and implements the optional methods for handling excessive memory usage if the inputs produce data at uneven rates.
公共属性 TypeId (从 Attribute 继承。)
公共属性 UITypeName Gets or sets the qualified name of the assembly implementing the user interface of the component.

页首

方法

  名称 说明
公共方法 Equals (从 Attribute 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Attribute 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 IsDefaultAttribute (从 Attribute 继承。)
公共方法 Match (从 Attribute 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 _Attribute.GetIDsOfNames (从 Attribute 继承。)
显式接口实现私有方法 _Attribute.GetTypeInfo (从 Attribute 继承。)
显式接口实现私有方法 _Attribute.GetTypeInfoCount (从 Attribute 继承。)
显式接口实现私有方法 _Attribute.Invoke (从 Attribute 继承。)

页首

注释

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Pipeline 命名空间