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

Updated: April 16, 2012

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)Dim instance As DataWarehouse Dim managementGroups As IList(Of Guid) Dim monitoringClasses 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 MonitoringObjectInfo) returnValue = instance.SearchMonitoringObjects(managementGroups, monitoringClasses, searchCriteria, from, to, maxItems)Public Function SearchMonitoringObjects ( _ managementGroups As IList(Of Guid), _ monitoringClasses As IList(Of Guid), _ searchCriteria As String, _ from As DateTime, _ to As DateTime, _ maxItems As Integer _ ) As ReadOnlyCollection(Of MonitoringObjectInfo)public ReadOnlyCollection<MonitoringObjectInfo> SearchMonitoringObjects ( IList<Guid> managementGroups, IList<Guid> monitoringClasses, string searchCriteria, DateTime from, DateTime to, int maxItems )public: ReadOnlyCollection<MonitoringObjectInfo^>^ SearchMonitoringObjects ( IList<Guid>^ managementGroups, IList<Guid>^ monitoringClasses, String^ searchCriteria, DateTime from, DateTime to, int maxItems )public ReadOnlyCollection<MonitoringObjectInfo> SearchMonitoringObjects ( IList<Guid> managementGroups, IList<Guid> monitoringClasses, String searchCriteria, DateTime from, DateTime to, int maxItems )public function SearchMonitoringObjects ( managementGroups : IList<Guid>, monitoringClasses : IList<Guid>, searchCriteria : String, from : DateTime, to : DateTime, maxItems : int ) : ReadOnlyCollection<MonitoringObjectInfo>ParametersmanagementGroupsThe GUIDs for the ManagementGroup objects to search.monitoringClassesThe GUIDs for the management classes 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 items to return in the search results.Return ValueReturns a ReadOnlyCollection object.
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