[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

Visual Basic
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

Visual Basic
Function GetViews ( _
		managementPackClass As ManagementPackClass, _
		criteria As ManagementPackViewCriteria, _
		baseClassTraversalDepth As BaseClassTraversalDepth _
) As IList(Of ManagementPackView)
C#
IList<ManagementPackView> GetViews (
		ManagementPackClass managementPackClass,
		ManagementPackViewCriteria criteria,
		BaseClassTraversalDepth baseClassTraversalDepth
)
C++
IList<ManagementPackView^>^ GetViews (
		ManagementPackClass^ managementPackClass, 
		ManagementPackViewCriteria^ criteria, 
		BaseClassTraversalDepth baseClassTraversalDepth
)
J#
IList<ManagementPackView> GetViews (
		ManagementPackClass managementPackClass, 
		ManagementPackViewCriteria criteria, 
		BaseClassTraversalDepth baseClassTraversalDepth
)
JScript
function GetViews (
		managementPackClass : ManagementPackClass, 
		criteria : ManagementPackViewCriteria, 
		baseClassTraversalDepth : BaseClassTraversalDepth
) : IList<ManagementPackView>

Parameters

managementPackClass

Type: ManagementPackClass

The targeted class.

criteria

Type: ManagementPackViewCriteria

The search criteria.

baseClassTraversalDepth

Type: BaseClassTraversalDepth

One of the enumeration values that indicates if the targeted class’s base class should also be used.

Return Value

Type: IList 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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also