TaskUILifetimeHintAttribute Class

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


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

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public sealed class TaskUILifetimeHintAttribute : Attribute

The TaskUILifetimeHintAttribute type exposes the following members.

Public methodTaskUILifetimeHintAttributeInitializes a new instance of the TaskUILifetimeHintAttribute class.

Public propertyTaskUILifetimeHintProvides an estimate, stored as a lifetime hint, about how expensive it is to re-create a user interface.
Public propertyTypeId (Inherited from Attribute.)

Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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.)

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions