This method supports the
infrastructure and is not intended to be used directly from your
code.
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)
Usage
Visual Basic |
---|
Dim instance As DataWarehouse Dim managementGroups As IList(Of Guid) Dim managementPacks As IList(Of Guid) Dim nameSearchCriteria As String Dim from As DateTime Dim to As DateTime Dim maxItems As Integer Dim returnValue As ReadOnlyCollection(Of PerformanceRuleInfo) returnValue = instance.SearchPerformanceRules(managementGroups, managementPacks, nameSearchCriteria, from, to, maxItems) |
Syntax
Visual Basic |
---|
Public Function SearchPerformanceRules ( _ managementGroups As IList(Of Guid), _ managementPacks As IList(Of Guid), _ nameSearchCriteria As String, _ from As DateTime, _ to As DateTime, _ maxItems As Integer _ ) As ReadOnlyCollection(Of PerformanceRuleInfo) |
C# |
---|
public ReadOnlyCollection<PerformanceRuleInfo> SearchPerformanceRules ( IList<Guid> managementGroups, IList<Guid> managementPacks, string nameSearchCriteria, DateTime from, DateTime to, int maxItems ) |
C++ |
---|
public: ReadOnlyCollection<PerformanceRuleInfo^>^ SearchPerformanceRules ( IList<Guid>^ managementGroups, IList<Guid>^ managementPacks, String^ nameSearchCriteria, DateTime from, DateTime to, int maxItems ) |
J# |
---|
public ReadOnlyCollection<PerformanceRuleInfo> SearchPerformanceRules ( IList<Guid> managementGroups, IList<Guid> managementPacks, String nameSearchCriteria, DateTime from, DateTime to, int maxItems ) |
JScript |
---|
public function SearchPerformanceRules ( managementGroups : IList<Guid>, managementPacks : IList<Guid>, nameSearchCriteria : String, from : DateTime, to : DateTime, maxItems : int ) : ReadOnlyCollection<PerformanceRuleInfo> |
Parameters
- managementGroups
-
The globally unique identifiers (GUIDs) for the Management Groups to search.
- managementPacks
-
The GUIDs for the management packs to search.
- nameSearchCriteria
-
The search query criteria.
- from
-
The date and time to start the search results.
- to
-
The date and time to end the search results.
- maxItems
-
The maximum items to return in the search results.
Return Value
A collection of PerformanceRuleInfo objects.Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.