DataWarehouse.SearchPerformanceRules Method (IList<Guid>, IList<Guid>, String, 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<PerformanceRuleInfo> SearchPerformanceRules(
IList<Guid> managementGroups,
IList<Guid> managementPacks,
string objectNameCriteria,
string counterNameCriteria,
DateTime from,
DateTime to,
int maxItems
)
public:
ReadOnlyCollection<PerformanceRuleInfo^>^ SearchPerformanceRules(
IList<Guid>^ managementGroups,
IList<Guid>^ managementPacks,
String^ objectNameCriteria,
String^ counterNameCriteria,
DateTime from,
DateTime to,
int maxItems
)
member SearchPerformanceRules :
managementGroups:IList<Guid> *
managementPacks:IList<Guid> *
objectNameCriteria:string *
counterNameCriteria:string *
from:DateTime *
to:DateTime *
maxItems:int -> ReadOnlyCollection<PerformanceRuleInfo>
Public Function SearchPerformanceRules (
managementGroups As IList(Of Guid),
managementPacks As IList(Of Guid),
objectNameCriteria As String,
counterNameCriteria As String,
from As Date,
to As Date,
maxItems As Integer
) As ReadOnlyCollection(Of PerformanceRuleInfo)
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.
objectNameCriteria
Type: System.StringThe search query criteria used to filter out results by the object's name.
counterNameCriteria
Type: System.StringThe search query criteria used to filter out results by the performance data counter's name.
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<PerformanceRuleInfo>
Returns a ReadOnlyCollection<T> object of PerformanceRuleInfo objects.
See Also
SearchPerformanceRules Overload
DataWarehouse Class
Microsoft.EnterpriseManagement.Warehouse Namespace
Return to top