DataWarehouse.SearchMonitoringObjects Method (IList<Guid>, IList<Guid>, IList<Guid>, String, DateTime, DateTime, Int32)
Applies To: Operations Manager for System Center 2012
Namespace: Microsoft.EnterpriseManagement.Warehouse
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public ReadOnlyCollection<MonitoringObjectInfo> SearchMonitoringObjects(
IList<Guid> managementGroups,
IList<Guid> monitoringClasses,
IList<Guid> monitoringContainedClasses,
string searchCriteria,
DateTime from,
DateTime to,
int maxItems
)
public:
ReadOnlyCollection<MonitoringObjectInfo^>^ SearchMonitoringObjects(
IList<Guid>^ managementGroups,
IList<Guid>^ monitoringClasses,
IList<Guid>^ monitoringContainedClasses,
String^ searchCriteria,
DateTime from,
DateTime to,
int maxItems
)
member SearchMonitoringObjects :
managementGroups:IList<Guid> *
monitoringClasses:IList<Guid> *
monitoringContainedClasses:IList<Guid> *
searchCriteria:string *
from:DateTime *
to:DateTime *
maxItems:int -> ReadOnlyCollection<MonitoringObjectInfo>
Public Function SearchMonitoringObjects (
managementGroups As IList(Of Guid),
monitoringClasses As IList(Of Guid),
monitoringContainedClasses As IList(Of Guid),
searchCriteria As String,
from As Date,
to As Date,
maxItems As Integer
) As ReadOnlyCollection(Of MonitoringObjectInfo)
Parameters
managementGroups
Type: System.Collections.Generic.IList<Guid>The list of Guid objects that represent the ManagementGroup objects to search.
monitoringClasses
Type: System.Collections.Generic.IList<Guid>The GUIDs for the monitoring classes to search.
- monitoringContainedClasses
Type: System.Collections.Generic.IList<Guid>
searchCriteria
Type: System.StringThe search query criteria.
from
Type: System.DateTimeThe date and time to start the search results.
to
Type: System.DateTimeThe date and time to end the search results.
maxItems
Type: System.Int32The maximum number of search results to return.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringObjectInfo>
Returns a ReadOnlyCollection<T> object of MonitoringObjectInfo objects.
See Also
SearchMonitoringObjects Overload
DataWarehouse Class
Microsoft.EnterpriseManagement.Warehouse Namespace
Return to top