IMonitoringInstancesManagement.GetObjects Method (MonitoringObjectGenericCriteria, ManagementPackClass, ObjectQueryOptions)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As IMonitoringInstancesManagement
Dim criteria As MonitoringObjectGenericCriteria
Dim mpClass As ManagementPackClass
Dim queryOptions As ObjectQueryOptions
Dim returnValue As IList(Of T)
returnValue = instance.GetObjects(criteria, mpClass, queryOptions)
Syntax
'Declaration
<ObsoleteAttribute(" Use the GetObjectReader<T>(EnterpriseManagementObjectGenericCriteria criteria, ManagementPackClass mpClass, ObjectQueryOptions queryOptions)")> _
Function GetObjects(Of T As PartialMonitoringObject) ( _
criteria As MonitoringObjectGenericCriteria, _
mpClass As ManagementPackClass, _
queryOptions As ObjectQueryOptions _
) As IList(Of T)
[ObsoleteAttribute(" Use the GetObjectReader<T>(EnterpriseManagementObjectGenericCriteria criteria, ManagementPackClass mpClass, ObjectQueryOptions queryOptions)")]
IList<T> GetObjects<T> (
MonitoringObjectGenericCriteria criteria,
ManagementPackClass mpClass,
ObjectQueryOptions queryOptions
) where T : PartialMonitoringObject
[ObsoleteAttribute(L" Use the GetObjectReader<T>(EnterpriseManagementObjectGenericCriteria criteria, ManagementPackClass mpClass, ObjectQueryOptions queryOptions)")]
generic<typename T> where T : PartialMonitoringObject
IList<T>^ GetObjects (
MonitoringObjectGenericCriteria^ criteria,
ManagementPackClass^ mpClass,
ObjectQueryOptions^ queryOptions
)
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
See Also
Reference
IMonitoringInstancesManagement Interface
IMonitoringInstancesManagement Members
Microsoft.EnterpriseManagement.Monitoring Namespace