Share via


IMonitoringInstancesManagement.GetObjects Method (MonitoringObjectGenericCriteria, 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 queryOptions As ObjectQueryOptions
Dim returnValue As IList(Of T)

returnValue = instance.GetObjects(criteria, queryOptions)

Syntax

'Declaration
<ObsoleteAttribute(" Use the GetObjectReader<T>(MonitoringObjectGenericCriteria criteria, ObjectQueryOptions queryOptions)")> _
Function GetObjects(Of T As PartialMonitoringObject) ( _
    criteria As MonitoringObjectGenericCriteria, _
    queryOptions As ObjectQueryOptions _
) As IList(Of T)
[ObsoleteAttribute(" Use the GetObjectReader<T>(MonitoringObjectGenericCriteria criteria, ObjectQueryOptions queryOptions)")] 
IList<T> GetObjects<T> (
    MonitoringObjectGenericCriteria criteria,
    ObjectQueryOptions queryOptions
) where T : PartialMonitoringObject
[ObsoleteAttribute(L" Use the GetObjectReader<T>(MonitoringObjectGenericCriteria criteria, ObjectQueryOptions queryOptions)")] 
generic<typename T> where T : PartialMonitoringObject
IList<T>^ GetObjects (
    MonitoringObjectGenericCriteria^ criteria, 
    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