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 searchCriteria As String
Dim from As DateTime
Dim to As DateTime
Dim maxItems As Integer
Dim languageCode As String
Dim returnValue As ReadOnlyCollection(Of MonitoringRuleInfo)

returnValue = instance.SearchMonitoringRules(managementGroups, managementPacks, searchCriteria, from, to, maxItems, languageCode)

Syntax

Visual Basic
Public Function SearchMonitoringRules ( _
		managementGroups As IList(Of Guid), _
		managementPacks As IList(Of Guid), _
		searchCriteria As String, _
		from As DateTime, _
		to As DateTime, _
		maxItems As Integer, _
		languageCode As String _
) As ReadOnlyCollection(Of MonitoringRuleInfo)
C#
public ReadOnlyCollection<MonitoringRuleInfo> SearchMonitoringRules (
		IList<Guid> managementGroups,
		IList<Guid> managementPacks,
		string searchCriteria,
		DateTime from,
		DateTime to,
		int maxItems,
		string languageCode
)
C++
public:
ReadOnlyCollection<MonitoringRuleInfo^>^ SearchMonitoringRules (
		IList<Guid>^ managementGroups, 
		IList<Guid>^ managementPacks, 
		String^ searchCriteria, 
		DateTime from, 
		DateTime to, 
		int maxItems, 
		String^ languageCode
)
J#
public ReadOnlyCollection<MonitoringRuleInfo> SearchMonitoringRules (
		IList<Guid> managementGroups, 
		IList<Guid> managementPacks, 
		String searchCriteria, 
		DateTime from, 
		DateTime to, 
		int maxItems, 
		String languageCode
)
JScript
public function SearchMonitoringRules (
		managementGroups : IList<Guid>, 
		managementPacks : IList<Guid>, 
		searchCriteria : String, 
		from : DateTime, 
		to : DateTime, 
		maxItems : int, 
		languageCode : String
) : ReadOnlyCollection<MonitoringRuleInfo>

Parameters

managementGroups

The globally unique identifiers (GUIDs) for the Management Groups to search.

managementPacks

The GUIDs for the management packs to search.

searchCriteria

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.

languageCode

The language code for the language in which the search results are returned.

Return Value

A collection of MonitoringRuleInfo 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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also