Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As IMonitoringConfigurationManagement Dim managementPackClass As ManagementPackClass Dim criteria As ManagementPackDiscoveryCriteria Dim baseClassTraversalDepth As BaseClassTraversalDepth Dim returnValue As IList(Of ManagementPackDiscovery) returnValue = instance.GetDiscoveries(managementPackClass, criteria, baseClassTraversalDepth) |
Syntax
Visual Basic |
---|
Function GetDiscoveries ( _ managementPackClass As ManagementPackClass, _ criteria As ManagementPackDiscoveryCriteria, _ baseClassTraversalDepth As BaseClassTraversalDepth _ ) As IList(Of ManagementPackDiscovery) |
C# |
---|
IList<ManagementPackDiscovery> GetDiscoveries ( ManagementPackClass managementPackClass, ManagementPackDiscoveryCriteria criteria, BaseClassTraversalDepth baseClassTraversalDepth ) |
C++ |
---|
IList<ManagementPackDiscovery^>^ GetDiscoveries ( ManagementPackClass^ managementPackClass, ManagementPackDiscoveryCriteria^ criteria, BaseClassTraversalDepth baseClassTraversalDepth ) |
J# |
---|
IList<ManagementPackDiscovery> GetDiscoveries ( ManagementPackClass managementPackClass, ManagementPackDiscoveryCriteria criteria, BaseClassTraversalDepth baseClassTraversalDepth ) |
JScript |
---|
function GetDiscoveries ( managementPackClass : ManagementPackClass, criteria : ManagementPackDiscoveryCriteria, baseClassTraversalDepth : BaseClassTraversalDepth ) : IList<ManagementPackDiscovery> |
Parameters
- managementPackClass
-
The target class.
- criteria
-
The criteria for discoveries to retrieve.
- baseClassTraversalDepth
-
Indicates whether or not to include this class’s base classes as targets for the retrieval.
Return Value
Returns IList. All the discoveries targeted toward this class.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.