Freigeben über


TaskUILifetimeHintAttribute-Klasse

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

Vererbungshierarchie

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

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

Syntax

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

Der TaskUILifetimeHintAttribute-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode TaskUILifetimeHintAttribute Initializes a new instance of the TaskUILifetimeHintAttribute class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft TaskUILifetimeHint Provides an estimate, stored as a lifetime hint, about how expensive it is to re-create a user interface.
Öffentliche Eigenschaft TypeId (Geerbt von Attribute.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Attribute.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Attribute.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode IsDefaultAttribute (Geerbt von Attribute.)
Öffentliche Methode Match (Geerbt von Attribute.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode _Attribute. . :: . .GetIDsOfNames (Geerbt von Attribute.)
Explizite SchnittstellenimplementierungPrivate Methode _Attribute. . :: . .GetTypeInfo (Geerbt von Attribute.)
Explizite SchnittstellenimplementierungPrivate Methode _Attribute. . :: . .GetTypeInfoCount (Geerbt von Attribute.)
Explizite SchnittstellenimplementierungPrivate Methode _Attribute. . :: . .Invoke (Geerbt von Attribute.)

Zum Anfang

Hinweise

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.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.