[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 object. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As IPresentationManagement
Dim instance As EnterpriseManagementObject
Dim criteria As ManagementPackViewCriteria
Dim returnValue As IList(Of ManagementPackView)

returnValue = instance.GetViews(instance, criteria)

Syntax

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

Parameters

instance

Type: ManagementPackClass

The targeted object.

criteria

Type: ManagementPackViewCriteria

The search criteria.

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