Share via


DtsTaskAttribute 类

Supplies design time information about a Task object.

继承层次结构

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.SqlServer.Dts.Runtime.Localization. . :: . .DtsLocalizableAttribute
      Microsoft.SqlServer.Dts.Runtime..::..DtsTaskAttribute

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := False, AllowMultiple := False)> _
Public NotInheritable Class DtsTaskAttribute _
    Inherits DtsLocalizableAttribute
用法
Dim instance As DtsTaskAttribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class DtsTaskAttribute : DtsLocalizableAttribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = false, AllowMultiple = false)]
public ref class DtsTaskAttribute sealed : public DtsLocalizableAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, Inherited = false, AllowMultiple = false)>]
type DtsTaskAttribute =  
    class
        inherit DtsLocalizableAttribute
    end
public final class DtsTaskAttribute extends DtsLocalizableAttribute

DtsTaskAttribute 类型公开以下成员。

构造函数

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

页首

属性

  名称 说明
公共属性 Description 基础结构。 (从 DtsLocalizableAttribute 继承。)
公共属性 DisplayName 基础结构。 (从 DtsLocalizableAttribute 继承。)
公共属性 IconResource Gets or sets the icon associated with the task object.
公共属性 LocalizationType 基础结构。 (从 DtsLocalizableAttribute 继承。)
公共属性 RequiredProductLevel Gets or sets a value from the DTSProductLevel enumeration so you can specify a specific product that this task is used with in the attribute.
公共属性 TaskContact Gets or sets the contact information for the task.
公共属性 TaskType Gets or sets the type of the task.
公共属性 TypeId (从 Attribute 继承。)
公共属性 UITypeName Specifies the qualified name of the assembly that implements the user interface of the task.

页首

方法

  名称 说明
公共方法 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 tasks that are derived from Task. The attribute identifies a class as a managed task and provides information through its properties that control how the SSIS Designer displays and interacts with the object.

The DisplayName property is displayed in the Toolbox of tasks in the Business Intelligence Development Studio.

线程安全

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