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

Updated: April 16, 2012

Searches for MonitoringObjectInfo objects with given criteria and parameters. Namespace: Microsoft.EnterpriseManagement.Warehouse
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As DataWarehouse Dim managementGroups 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 MonitoringClassInfo) returnValue = instance.SearchMonitoringClasses(managementGroups, searchCriteria, from, to, maxItems)Public Function SearchMonitoringClasses ( _ managementGroups As IList(Of Guid), _ searchCriteria As String, _ from As DateTime, _ to As DateTime, _ maxItems As Integer _ ) As ReadOnlyCollection(Of MonitoringClassInfo)public ReadOnlyCollection<MonitoringClassInfo> SearchMonitoringClasses ( IList<Guid> managementGroups, string searchCriteria, DateTime from, DateTime to, int maxItems )public: ReadOnlyCollection<MonitoringClassInfo^>^ SearchMonitoringClasses ( IList<Guid>^ managementGroups, String^ searchCriteria, DateTime from, DateTime to, int maxItems )public ReadOnlyCollection<MonitoringClassInfo> SearchMonitoringClasses ( IList<Guid> managementGroups, String searchCriteria, DateTime from, DateTime to, int maxItems )public function SearchMonitoringClasses ( managementGroups : IList<Guid>, searchCriteria : String, from : DateTime, to : DateTime, maxItems : int ) : ReadOnlyCollection<MonitoringClassInfo>ParametersmanagementGroupsThe list of Guid objects that represent the ManagementGroup objects to search.searchCriteriaThe search query criteria.fromThe date and time to start the search results.toThe date and time to end the search results.maxItemsThe maximum number of search results to return.Return ValueReturns a ReadOnlyCollection object of MonitoringObjectInfo 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