DataWarehouse.SearchPerformanceRules Method (IList, IList, String, String, DateTime, DateTime, Int32)

Updated: April 16, 2012

Namespace: Microsoft.EnterpriseManagement.Warehouse
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As DataWarehouse Dim managementGroups As IList(Of Guid) Dim managementPacks As IList(Of Guid) Dim objectNameCriteria As String Dim counterNameCriteria 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, objectNameCriteria, counterNameCriteria, from, to, maxItems)Public Function SearchPerformanceRules ( _ managementGroups As IList(Of Guid), _ managementPacks As IList(Of Guid), _ objectNameCriteria As String, _ counterNameCriteria As String, _ from As DateTime, _ to As DateTime, _ maxItems As Integer _ ) As ReadOnlyCollection(Of PerformanceRuleInfo)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 )public ReadOnlyCollection<PerformanceRuleInfo> SearchPerformanceRules ( IList<Guid> managementGroups, IList<Guid> managementPacks, String objectNameCriteria, String counterNameCriteria, DateTime from, DateTime to, int maxItems )public function SearchPerformanceRules ( managementGroups : IList<Guid>, managementPacks : IList<Guid>, objectNameCriteria : String, counterNameCriteria : String, from : DateTime, to : DateTime, maxItems : int ) : ReadOnlyCollection<PerformanceRuleInfo>ParametersmanagementGroupsThe GUIDs for the ManagementGroup objects to search.managementPacksThe GUIDs for the ManagementPack objects to search.objectNameCriteriaThe search query criteria used to filter out results by the object's name.counterNameCriteriaThe search query criteria used to filter out results by the performance data counter's name.fromThe date and time to start the search results.toThe date and time to end the search results.maxItemsThe maximum items to return in the search results.Return ValueReturns a ReadOnlyCollection object of PerformanceRuleInfo objects.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms