Share via


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

  • objectNameCriteria
    Type: System.String

    The search query criteria used to filter out results by the object's name.

  • counterNameCriteria
    Type: System.String

    The search query criteria used to filter out results by the performance data counter's name.

  • from
    Type: System.DateTime

    The date and time to start the search results.

  • maxItems
    Type: System.Int32

    The 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