[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Gets a single type projection object by name from the specified management pack. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As IEntityTypeManagement
Dim typeProjectionName As String
Dim managementPack As ManagementPack
Dim returnValue As ManagementPackTypeProjection

returnValue = instance.GetTypeProjection(typeProjectionName, managementPack)

Syntax

Visual Basic
Function GetTypeProjection ( _
		typeProjectionName As String, _
		managementPack As ManagementPack _
) As ManagementPackTypeProjection
C#
ManagementPackTypeProjection GetTypeProjection (
		string typeProjectionName,
		ManagementPack managementPack
)
C++
ManagementPackTypeProjection^ GetTypeProjection (
		String^ typeProjectionName, 
		ManagementPack^ managementPack
)
J#
ManagementPackTypeProjection GetTypeProjection (
		String typeProjectionName, 
		ManagementPack managementPack
)
JScript
function GetTypeProjection (
		typeProjectionName : String, 
		managementPack : ManagementPack
) : ManagementPackTypeProjection

Parameters

typeProjectionName

Type: String

The name of the type projection.

managementPack

Type: ManagementPack

The management pack that contains the type projection to return.

Return Value

Type: ManagementPackTypeProjection The type projection.

Exceptions

Exception type Condition
ArgumentNullException

The managementPack parameter is a null reference (Nothing in Visual Basic).

-or-

The typeProjectionName parameter is a null reference (Nothing in Visual Basic).

ObjectNotFoundException

The ManagementPackEnumeration type that is identified by the typeProjectionName parameter was not found.

ArgumentOutOfRangeException

The typeProjectionName parameter is equal to Empty.

Thread Safety

This method is 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