共用方式為


TaskUILifetimeHintAttribute 類別

Defines a task lifetime attribute that specifies how expensive a user interface is to re-create.

繼承階層

System.Object
  System.Attribute
    Microsoft.SqlServer.Dts.Runtime.Design.TaskUILifetimeHintAttribute

命名空間:  Microsoft.SqlServer.Dts.Runtime.Design
組件:  Microsoft.SqlServer.Dts.Design (在 Microsoft.SqlServer.Dts.Design.dll 中)

語法

'宣告
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public NotInheritable Class TaskUILifetimeHintAttribute _
    Inherits Attribute
'用途
Dim instance As TaskUILifetimeHintAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public sealed class TaskUILifetimeHintAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class TaskUILifetimeHintAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
type TaskUILifetimeHintAttribute =  
    class 
        inherit Attribute 
    end
public final class TaskUILifetimeHintAttribute extends Attribute

TaskUILifetimeHintAttribute 型別公開下列成員。

建構函式

  名稱 說明
公用方法 TaskUILifetimeHintAttribute Initializes a new instance of the TaskUILifetimeHintAttribute class.

上層

屬性

  名稱 說明
公用屬性 TaskUILifetimeHint Provides an estimate, stored as a lifetime hint, about how expensive it is to re-create a user interface.
公用屬性 TypeId (繼承自 Attribute。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Attribute。)
公用方法 GetHashCode (繼承自 Attribute。)
公用方法 GetType (繼承自 Object。)
公用方法 IsDefaultAttribute (繼承自 Attribute。)
公用方法 Match (繼承自 Attribute。)
公用方法 ToString (繼承自 Object。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 _Attribute.GetIDsOfNames (繼承自 Attribute。)
明確介面實作私用方法 _Attribute.GetTypeInfo (繼承自 Attribute。)
明確介面實作私用方法 _Attribute.GetTypeInfoCount (繼承自 Attribute。)
明確介面實作私用方法 _Attribute.Invoke (繼承自 Attribute。)

上層

備註

In Integration Services, this attribute allows you to specify how expensive it is to recreate a specific user interface. For example, if a user interface displays a drop-down list with only five fields, all obtained from the local computer, the user interface may be fairly fast and inexpensive to process. However, if a drop-down list in a user interface contains information that was gathered from a remote server, or from across a network that was slow, the user interface may be expensive and time-consuming to re-create. To keep the user interface in memory until the package designer is closed, set the TaskUILifetimeHint property to RecreationExpensive. To dispose of the user interface as soon as the user closes the dialog, set the TaskUILifetimeHint property to RecreationInexpensive.

執行緒安全性

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

請參閱

參考

Microsoft.SqlServer.Dts.Runtime.Design 命名空間