共用方式為


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 基礎結構。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 task object.
公用屬性 IconResource Gets or sets the icon associated with the task object.
公用屬性 LocalizationType 基礎結構。Gets or sets the class that supplies values for the DtsLocalizableAttribute. (繼承自 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.
公用屬性 SamplesTag Gets or sets the samples tag from the task.
公用屬性 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。)
公用方法 GetHashCode (繼承自 Attribute。)
公用方法 GetType (繼承自 Object。)
公用方法 IsDefaultAttribute (繼承自 Attribute。)
公用方法 Match (繼承自 Attribute。)
公用方法 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 SQL Server Data Tools (SSDT).

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Runtime 命名空間