Delen via


DtsTaskAttribute Class

Supplies design time information about a Task object.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

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

The DtsTaskAttribute type exposes the following members.

Constructors

  Name Description
Public method DtsTaskAttribute Initializes a new instance of the DtsTaskAttribute class.

Top

Properties

  Name Description
Public property Description Infrastructure. (Inherited from DtsLocalizableAttribute.)
Public property DisplayName Infrastructure. (Inherited from DtsLocalizableAttribute.)
Public property IconResource Gets or sets the icon associated with the task object.
Public property LocalizationType Infrastructure. (Inherited from DtsLocalizableAttribute.)
Public property 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.
Public property TaskContact Gets or sets the contact information for the task.
Public property TaskType Gets or sets the type of the task.
Public property TypeId (Inherited from Attribute.)
Public property UITypeName Specifies the qualified name of the assembly that implements the user interface of the task.

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

Remarks

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.

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.