共用方式為


IExtensionManagement.Retrieve Method (ExtensionIdentifier)

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

Retrieves the object with the specified identifier. If the object does not exist in the current context, an exception is thrown.

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

Usage

'Usage
Dim instance As IExtensionManagement
Dim identifier As ExtensionIdentifier
Dim returnValue As T

returnValue = instance.Retrieve(identifier)

Syntax

'Declaration
Function Retrieve(Of T As ManagementPackElement) ( _
    identifier As ExtensionIdentifier _
) As T
T Retrieve<T> (
    ExtensionIdentifier identifier
) where T : ManagementPackElement
generic<typename T> where T : ManagementPackElement
T Retrieve (
    ExtensionIdentifier^ identifier
)

GenericParameters

  • T
    The type of object to get.

Parameters

  • identifier
    The identifier of the object to get.

Return Value

The object if found.

Thread Safety

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

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

IExtensionManagement Interface
IExtensionManagement Members
Microsoft.EnterpriseManagement.Configuration Namespace