Partager via


Lifetime Enumeration

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Specifies the lifetime for this activated component.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As Lifetime

Syntax

'Declaration
<ObsoleteAttribute("This enumeration is obsolete and will be removed")> _
Public Enumeration Lifetime
[ObsoleteAttribute("This enumeration is obsolete and will be removed")] 
public enum Lifetime
[ObsoleteAttribute(L"This enumeration is obsolete and will be removed")] 
public enum class Lifetime
/** @attribute ObsoleteAttribute("This enumeration is obsolete and will be removed") */ 
public enum Lifetime
ObsoleteAttribute("This enumeration is obsolete and will be removed") 
public enum Lifetime

Members

Member name Description
Singleton Specifies the singleton lifetime.
Transient Specifies the transient lifetime.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

Microsoft.EnterpriseManagement Namespace