Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As IEntityObjectsManagement Dim managementPackClass As ManagementPackClass Dim objectQueryOptions As ObjectQueryOptions Dim returnValue As IObjectReader(Of T) returnValue = instance.GetObjectReader(managementPackClass, objectQueryOptions) |
Syntax
Visual Basic |
---|
Function GetObjectReader(Of T As EnterpriseManagementObject) ( _ managementPackClass As ManagementPackClass, _ objectQueryOptions As ObjectQueryOptions _ ) As IObjectReader(Of T) |
C# |
---|
IObjectReader<T> GetObjectReader<T> ( ManagementPackClass managementPackClass, ObjectQueryOptions objectQueryOptions ) where T : EnterpriseManagementObject |
C++ |
---|
generic<typename T> where T : EnterpriseManagementObject IObjectReader<T>^ GetObjectReader ( ManagementPackClass^ managementPackClass, ObjectQueryOptions^ objectQueryOptions ) |
J# |
---|
|
JScript |
---|
|
GenericParameters
- T
-
The type to cast the reader as.
Of type EnterpriseManagementObject.
Parameters
- managementPackClass
-
Type: ManagementPackClass
The management pack class to restrict the query by.
- objectQueryOptions
-
Type: ObjectQueryOptions
The options to apply to the query.
Return Value
Type: IObjectReader 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.