DataWarehouse.SearchPerformanceRules Method (IList, IList, String, String, DateTime, DateTime, Int32, String)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Namespace: Microsoft.EnterpriseManagement.Warehouse
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
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 languageCode As String
Dim returnValue As ReadOnlyCollection(Of PerformanceRuleInfo)
returnValue = instance.SearchPerformanceRules(managementGroups, managementPacks, objectNameCriteria, counterNameCriteria, from, to, maxItems, languageCode)
Syntax
'Declaration
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, _
languageCode As String _
) As ReadOnlyCollection(Of PerformanceRuleInfo)
public ReadOnlyCollection<PerformanceRuleInfo> SearchPerformanceRules (
IList<Guid> managementGroups,
IList<Guid> managementPacks,
string objectNameCriteria,
string counterNameCriteria,
DateTime from,
DateTime to,
int maxItems,
string languageCode
)
public:
ReadOnlyCollection<PerformanceRuleInfo^>^ SearchPerformanceRules (
IList<Guid>^ managementGroups,
IList<Guid>^ managementPacks,
String^ objectNameCriteria,
String^ counterNameCriteria,
DateTime from,
DateTime to,
int maxItems,
String^ languageCode
)
public ReadOnlyCollection<PerformanceRuleInfo> SearchPerformanceRules (
IList<Guid> managementGroups,
IList<Guid> managementPacks,
String objectNameCriteria,
String counterNameCriteria,
DateTime from,
DateTime to,
int maxItems,
String languageCode
)
public function SearchPerformanceRules (
managementGroups : IList<Guid>,
managementPacks : IList<Guid>,
objectNameCriteria : String,
counterNameCriteria : String,
from : DateTime,
to : DateTime,
maxItems : int,
languageCode : String
) : ReadOnlyCollection<PerformanceRuleInfo>
Parameters
- managementGroups
The GUIDs for the ManagementGroup objects to search.
- managementPacks
The GUIDs for the ManagementPack objects to search.
- objectNameCriteria
The search query criteria used to filter out results by the object's name.
- counterNameCriteria
The search query criteria used to filter out results by the performance data counter's name.
- 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.
- languageCode
The language code for the language in which the search results are returned.
Return Value
Returns a ReadOnlyCollection object 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.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
DataWarehouse Class
DataWarehouse Members
Microsoft.EnterpriseManagement.Warehouse Namespace