IEntityTypeManagement.GetTypeProjection Method

Definition

Gets a type projection object, which is used to create a view of related management pack classes. Type projections are defined in a management pack under the TypeProjections element, which is under the EntityTypes element.

Overloads

GetTypeProjection(Guid)

Gets a single type projection object from the management group given the supplied unique (type projection) identifier.

GetTypeProjection(String, ManagementPack)

Gets a single type projection object by name from the specified management pack.

GetTypeProjection(Guid)

Gets a single type projection object from the management group given the supplied unique (type projection) identifier.

public:
 Microsoft::EnterpriseManagement::Configuration::ManagementPackTypeProjection ^ GetTypeProjection(Guid id);
public Microsoft.EnterpriseManagement.Configuration.ManagementPackTypeProjection GetTypeProjection (Guid id);
abstract member GetTypeProjection : Guid -> Microsoft.EnterpriseManagement.Configuration.ManagementPackTypeProjection
Public Function GetTypeProjection (id As Guid) As ManagementPackTypeProjection

Parameters

id
Guid

The unique identifier of a type projection.

Returns

The type projection.

Exceptions

The ManagementPackTypeProjection type that is identified by the id parameter was not found.

Applies to

GetTypeProjection(String, ManagementPack)

Gets a single type projection object by name from the specified management pack.

public:
 Microsoft::EnterpriseManagement::Configuration::ManagementPackTypeProjection ^ GetTypeProjection(System::String ^ typeProjectionName, Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack);
public Microsoft.EnterpriseManagement.Configuration.ManagementPackTypeProjection GetTypeProjection (string typeProjectionName, Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack);
abstract member GetTypeProjection : string * Microsoft.EnterpriseManagement.Configuration.ManagementPack -> Microsoft.EnterpriseManagement.Configuration.ManagementPackTypeProjection
Public Function GetTypeProjection (typeProjectionName As String, managementPack As ManagementPack) As ManagementPackTypeProjection

Parameters

typeProjectionName
String

The name of the type projection.

managementPack
ManagementPack

The management pack that contains the type projection to return.

Returns

The type projection.

Exceptions

The managementPack parameter is a null reference (Nothing in Visual Basic), or the typeProjectionName parameter is a null reference (Nothing in Visual Basic).

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

The typeProjectionName parameter is equal to Empty.

Applies to

Thread Safety

These methods are thread safe.