IEntityTypeManagement.GetTypeProjection Method (String, ManagementPack)
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
'Usage
Dim instance As IEntityTypeManagement
Dim typeProjectionName As String
Dim managementPack As ManagementPack
Dim returnValue As ManagementPackTypeProjection
returnValue = instance.GetTypeProjection(typeProjectionName, managementPack)
Syntax
'Declaration
Function GetTypeProjection ( _
typeProjectionName As String, _
managementPack As ManagementPack _
) As ManagementPackTypeProjection
ManagementPackTypeProjection GetTypeProjection (
string typeProjectionName,
ManagementPack managementPack
)
ManagementPackTypeProjection^ GetTypeProjection (
String^ typeProjectionName,
ManagementPack^ managementPack
)
ManagementPackTypeProjection GetTypeProjection (
String typeProjectionName,
ManagementPack managementPack
)
function GetTypeProjection (
typeProjectionName : String,
managementPack : ManagementPack
) : ManagementPackTypeProjection
Parameters
- typeProjectionName
The name of the type projection.
- managementPack
The management pack that contains the type projection to return.
Return Value
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 Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
IEntityTypeManagement Interface
IEntityTypeManagement Members
Microsoft.EnterpriseManagement Namespace