DataWarehouse.SearchMonitoringRules Method (IList, IList, String, DateTime, DateTime, Int32)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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
'Usage
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 returnValue As ReadOnlyCollection(Of MonitoringRuleInfo)
returnValue = instance.SearchMonitoringRules(managementGroups, managementPacks, searchCriteria, from, to, maxItems)
Syntax
'Declaration
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 _
) As ReadOnlyCollection(Of MonitoringRuleInfo)
public ReadOnlyCollection<MonitoringRuleInfo> SearchMonitoringRules (
IList<Guid> managementGroups,
IList<Guid> managementPacks,
string searchCriteria,
DateTime from,
DateTime to,
int maxItems
)
public:
ReadOnlyCollection<MonitoringRuleInfo^>^ SearchMonitoringRules (
IList<Guid>^ managementGroups,
IList<Guid>^ managementPacks,
String^ searchCriteria,
DateTime from,
DateTime to,
int maxItems
)
public ReadOnlyCollection<MonitoringRuleInfo> SearchMonitoringRules (
IList<Guid> managementGroups,
IList<Guid> managementPacks,
String searchCriteria,
DateTime from,
DateTime to,
int maxItems
)
public function SearchMonitoringRules (
managementGroups : IList<Guid>,
managementPacks : IList<Guid>,
searchCriteria : String,
from : DateTime,
to : DateTime,
maxItems : int
) : ReadOnlyCollection<MonitoringRuleInfo>
Parameters
- managementGroups
The GUIDs for the ManagementGroup objects to search.
- managementPacks
The GUIDs for the ManagementPack objects 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.
Return Value
Returns a ReadOnlyCollection object 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 Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
DataWarehouse Class
DataWarehouse Members
Microsoft.EnterpriseManagement.Warehouse Namespace