Condividi tramite


Classe TaskUILifetimeHintAttribute

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

Sintassi

'Dichiarazione
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)> _
Public NotInheritable Class TaskUILifetimeHintAttribute _
    Inherits Attribute
'Utilizzo
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

Nel tipo TaskUILifetimeHintAttribute sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico TaskUILifetimeHintAttribute Initializes a new instance of the TaskUILifetimeHintAttribute class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica TaskUILifetimeHint Provides an estimate, stored as a lifetime hint, about how expensive it is to re-create a user interface.
Proprietà pubblica TypeId Ereditato da Attribute.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Attribute.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Attribute.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico IsDefaultAttribute Ereditato da Attribute.
Metodo pubblico Match Ereditato da Attribute.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato _Attribute. . :: . .GetIDsOfNames Ereditato da Attribute.
Implementazione esplicita dell'interfacciaMetodo privato _Attribute. . :: . .GetTypeInfo Ereditato da Attribute.
Implementazione esplicita dell'interfacciaMetodo privato _Attribute. . :: . .GetTypeInfoCount Ereditato da Attribute.
Implementazione esplicita dell'interfacciaMetodo privato _Attribute. . :: . .Invoke Ereditato da Attribute.

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.