Gets the aliased name for the given element to reference in the current destination Management Pack. Namespace: Microsoft.EnterpriseManagement.UI
Assembly: Microsoft.EnterpriseManagement.UI.Extensibility (in microsoft.enterprisemanagement.ui.extensibility.dll)

Usage

Visual Basic
Dim elementToReference As ManagementPackElement
Dim returnValue As String

returnValue = Me.GetAliasedName(elementToReference)

Syntax

Visual Basic
Protected Function GetAliasedName ( _
		elementToReference As ManagementPackElement _
) As String
C#
protected string GetAliasedName (
		ManagementPackElement elementToReference
)
C++
protected:
String^ GetAliasedName (
		ManagementPackElement^ elementToReference
)
J#
protected String GetAliasedName (
		ManagementPackElement elementToReference
)
JScript
protected function GetAliasedName (
		elementToReference : ManagementPackElement
) : String

Parameters

elementToReference

The element to reference in the current destination Management Pack.

Return Value

Returns a string that contains the aliased name for the given element to reference in the current destination Management Pack.

Remarks

If no aliasing is required, this method returns the name of the element. This method automatically adds a reference to the Management Pack of the element to reference if one does not exist.


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,Windows Vista,Windows XP

See Also