Compartilhar via


IPresentationManagement.GetViews Method (ManagementPackClass, ManagementPackViewCriteria, BaseClassTraversalDepth)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets a list of views that match the provided criteria and target the provided class.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As IPresentationManagement
Dim managementPackClass As ManagementPackClass
Dim criteria As ManagementPackViewCriteria
Dim baseClassTraversalDepth As BaseClassTraversalDepth
Dim returnValue As IList(Of ManagementPackView)

returnValue = instance.GetViews(managementPackClass, criteria, baseClassTraversalDepth)

Syntax

'Declaration
Function GetViews ( _
    managementPackClass As ManagementPackClass, _
    criteria As ManagementPackViewCriteria, _
    baseClassTraversalDepth As BaseClassTraversalDepth _
) As IList(Of ManagementPackView)
IList<ManagementPackView> GetViews (
    ManagementPackClass managementPackClass,
    ManagementPackViewCriteria criteria,
    BaseClassTraversalDepth baseClassTraversalDepth
)
IList<ManagementPackView^>^ GetViews (
    ManagementPackClass^ managementPackClass, 
    ManagementPackViewCriteria^ criteria, 
    BaseClassTraversalDepth baseClassTraversalDepth
)
IList<ManagementPackView> GetViews (
    ManagementPackClass managementPackClass, 
    ManagementPackViewCriteria criteria, 
    BaseClassTraversalDepth baseClassTraversalDepth
)
function GetViews (
    managementPackClass : ManagementPackClass, 
    criteria : ManagementPackViewCriteria, 
    baseClassTraversalDepth : BaseClassTraversalDepth
) : IList<ManagementPackView>

Parameters

  • managementPackClass
    The targeted class.
  • criteria
    The search criteria.
  • baseClassTraversalDepth
    One of the enumeration values that indicates if the targeted class’s base class should also be used.

Return Value

The list of view 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

Windows Server 2008,Windows Server 2003

See Also

Reference

IPresentationManagement Interface
IPresentationManagement Members
Microsoft.EnterpriseManagement Namespace