DataWarehouse.SearchMonitoringRules Method (IList<Guid>, IList<Guid>, String, DateTime, DateTime, Int32)
Applies To: Operations Manager for System Center 2012
This method is for internal use only and is not intended for use in your code.
Namespace: Microsoft.EnterpriseManagement.Warehouse
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public ReadOnlyCollection<MonitoringRuleInfo> SearchMonitoringRules(
IList<Guid> managementGroups,
IList<Guid> managementPacks,
string searchCriteria,
DateTime from,
DateTime to,
int maxItems
)
public:
ReadOnlyCollection<MonitoringRuleInfo^>^ SearchMonitoringRules(
IList<Guid>^ managementGroups,
IList<Guid>^ managementPacks,
String^ searchCriteria,
DateTime from,
DateTime to,
int maxItems
)
member SearchMonitoringRules :
managementGroups:IList<Guid> *
managementPacks:IList<Guid> *
searchCriteria:string *
from:DateTime *
to:DateTime *
maxItems:int -> ReadOnlyCollection<MonitoringRuleInfo>
Public Function SearchMonitoringRules (
managementGroups As IList(Of Guid),
managementPacks As IList(Of Guid),
searchCriteria As String,
from As Date,
to As Date,
maxItems As Integer
) As ReadOnlyCollection(Of MonitoringRuleInfo)
Parameters
managementGroups
Type: System.Collections.Generic.IList<Guid>The GUIDs for the ManagementGroup objects to search.
managementPacks
Type: System.Collections.Generic.IList<Guid>The GUIDs for the ManagementPack 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 items to return in the search results.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringRuleInfo>
Returns a ReadOnlyCollection<T> object of MonitoringRuleInfo objects.
See Also
SearchMonitoringRules Overload
DataWarehouse Class
Microsoft.EnterpriseManagement.Warehouse Namespace
Return to top