Compartir a través de


TaskUILifetimeHintAttribute Class

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

Espacio de nombres: Microsoft.SqlServer.Dts.Runtime.Design
Ensamblado: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)

Sintaxis

'Declaración
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple:=False)> _
Public NotInheritable Class TaskUILifetimeHintAttribute
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false)] 
public sealed class TaskUILifetimeHintAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple=false)] 
public ref class TaskUILifetimeHintAttribute sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false) */ 
public final class TaskUILifetimeHintAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple=false) 
public final class TaskUILifetimeHintAttribute extends Attribute

Notas

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.

Inheritance Hierarchy

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

Seguridad para subprocesos

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

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

TaskUILifetimeHintAttribute Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace