다음을 통해 공유


TaskUILifetimeHintAttribute 클래스

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

네임스페이스:  Microsoft.SqlServer.Dts.Runtime.Design
어셈블리:  Microsoft.SqlServer.Dts.Design.dll의 Microsoft.SqlServer.Dts.Design

구문

‘선언
<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

주의

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.

상속 계층 구조

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

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.