Share 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. Gets or sets the description of the DtsLocalizableAttribute. (Inherited from DtsLocalizableAttribute.)
Public property DisplayName Infrastructure. Gets or sets the display name of the DtsLocalizableAttribute. (Inherited from DtsLocalizableAttribute.)
Public property HelpCollection Gets or sets the help collection from which to retrieve the help.
Public property HelpKeyword Gets or sets the help keyword associated with the task object.
Public property IconResource Gets or sets the icon associated with the task object.
Public property LocalizationType Infrastructure. Gets or sets the class that supplies values for the DtsLocalizableAttribute. (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 SamplesTag Gets or sets the samples tag from the task.
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.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
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 SQL Server Data Tools (SSDT).

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.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime Namespace