次の方法で共有


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

returnValue = instance.GetObjects(criteria, queryOptions)

Syntax

'Declaration
<ObsoleteAttribute("Use the GetObjectReader<T>(EnterpriseManagementObjectCriteria criteria, ObjectQueryOptions queryOptions)")> _
Function GetObjects ( _
    criteria As MonitoringObjectCriteria, _
    queryOptions As ObjectQueryOptions _
) As IList(Of MonitoringObject)
[ObsoleteAttribute("Use the GetObjectReader<T>(EnterpriseManagementObjectCriteria criteria, ObjectQueryOptions queryOptions)")] 
IList<MonitoringObject> GetObjects (
    MonitoringObjectCriteria criteria,
    ObjectQueryOptions queryOptions
)
[ObsoleteAttribute(L"Use the GetObjectReader<T>(EnterpriseManagementObjectCriteria criteria, ObjectQueryOptions queryOptions)")] 
IList<MonitoringObject^>^ GetObjects (
    MonitoringObjectCriteria^ criteria, 
    ObjectQueryOptions^ queryOptions
)
/** @attribute ObsoleteAttribute("Use the GetObjectReader<T>(EnterpriseManagementObjectCriteria criteria, ObjectQueryOptions queryOptions)") */ 
IList<MonitoringObject> GetObjects (
    MonitoringObjectCriteria criteria, 
    ObjectQueryOptions queryOptions
)
ObsoleteAttribute("Use the GetObjectReader<T>(EnterpriseManagementObjectCriteria criteria, ObjectQueryOptions queryOptions)") 
function GetObjects (
    criteria : MonitoringObjectCriteria, 
    queryOptions : ObjectQueryOptions
) : IList<MonitoringObject>

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