Partager via


IPresentationManagement.GetStringResource Method

Gets a string resource object by using a unique identifier.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As IPresentationManagement
Dim id As Guid
Dim returnValue As ManagementPackStringResource

returnValue = instance.GetStringResource(id)

Syntax

'Declaration
Function GetStringResource ( _
    id As Guid _
) As ManagementPackStringResource
ManagementPackStringResource GetStringResource (
    Guid id
)
ManagementPackStringResource^ GetStringResource (
    Guid id
)
ManagementPackStringResource GetStringResource (
    Guid id
)
function GetStringResource (
    id : Guid
) : ManagementPackStringResource

Parameters

  • id
    The string resource identifier.

Return Value

The string resource object.

Exceptions

Exception type Condition
ObjectNotFoundException

The string resource that is identified by the id parameter does not exist.

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

IPresentationManagement Interface
IPresentationManagement Members
Microsoft.EnterpriseManagement Namespace