共用方式為


DtsTaskAttribute 類別

Supplies design time information about a Task object.

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

備註

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.

繼承階層

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

執行緒安全性

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