Compartilhar via


IEntityObjectsManagement.GetObjectReader Method (ManagementPackClass, ObjectQueryOptions)

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

Gets a reader for a specific management pack class type.

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

Usage

'Usage
Dim instance As IEntityObjectsManagement
Dim managementPackClass As ManagementPackClass
Dim objectQueryOptions As ObjectQueryOptions
Dim returnValue As IObjectReader(Of T)

returnValue = instance.GetObjectReader(managementPackClass, objectQueryOptions)

Syntax

'Declaration
Function GetObjectReader(Of T As EnterpriseManagementObject) ( _
    managementPackClass As ManagementPackClass, _
    objectQueryOptions As ObjectQueryOptions _
) As IObjectReader(Of T)
IObjectReader<T> GetObjectReader<T> (
    ManagementPackClass managementPackClass,
    ObjectQueryOptions objectQueryOptions
) where T : EnterpriseManagementObject
generic<typename T> where T : EnterpriseManagementObject
IObjectReader<T>^ GetObjectReader (
    ManagementPackClass^ managementPackClass, 
    ObjectQueryOptions^ objectQueryOptions
)

GenericParameters

  • T
    The type to cast the reader as.

Parameters

  • managementPackClass
    The management pack class to restrict the query by.
  • objectQueryOptions
    The options to apply to the query.

Return Value

The object reader.

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

IEntityObjectsManagement Interface
IEntityObjectsManagement Members
Microsoft.EnterpriseManagement Namespace