DataWarehouse.SearchMonitoringClasses Method (IList<Guid>, String, DateTime, DateTime, Int32, String)
Applies To: Operations Manager for System Center 2012
Searches for MonitoringObjectInfo objects with given criteria and parameters.
Namespace: Microsoft.EnterpriseManagement.Warehouse
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public ReadOnlyCollection<MonitoringClassInfo> SearchMonitoringClasses(
IList<Guid> managementGroups,
string searchCriteria,
DateTime from,
DateTime to,
int maxItems,
string languageCode
)
public:
ReadOnlyCollection<MonitoringClassInfo^>^ SearchMonitoringClasses(
IList<Guid>^ managementGroups,
String^ searchCriteria,
DateTime from,
DateTime to,
int maxItems,
String^ languageCode
)
member SearchMonitoringClasses :
managementGroups:IList<Guid> *
searchCriteria:string *
from:DateTime *
to:DateTime *
maxItems:int *
languageCode:string -> ReadOnlyCollection<MonitoringClassInfo>
Public Function SearchMonitoringClasses (
managementGroups As IList(Of Guid),
searchCriteria As String,
from As Date,
to As Date,
maxItems As Integer,
languageCode As String
) As ReadOnlyCollection(Of MonitoringClassInfo)
Parameters
managementGroups
Type: System.Collections.Generic.IList<Guid>The list of Guid objects that represent the ManagementGroup objects to search.
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.
languageCode
Type: System.StringThe language code for the language in which the information is returned.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringClassInfo>
Returns a ReadOnlyCollection<T> object of MonitoringObjectInfo objects.
See Also
SearchMonitoringClasses Overload
DataWarehouse Class
Microsoft.EnterpriseManagement.Warehouse Namespace
Return to top