IAuthoringContext.AddManagementPackReference Method
Adds a reference to a Management Pack if a reference does not already exist, and returns the alias for the newly created reference.
Namespace: Microsoft.EnterpriseManagement.UI
Assembly: Microsoft.EnterpriseManagement.UI.Extensibility (in microsoft.enterprisemanagement.ui.extensibility.dll)
Usage
'Usage
Dim instance As IAuthoringContext
Dim managementPack As ManagementPack
Dim returnValue As String
returnValue = instance.AddManagementPackReference(managementPack)
Syntax
'Declaration
Function AddManagementPackReference ( _
managementPack As ManagementPack _
) As String
string AddManagementPackReference (
ManagementPack managementPack
)
String^ AddManagementPackReference (
ManagementPack^ managementPack
)
String AddManagementPackReference (
ManagementPack managementPack
)
function AddManagementPackReference (
managementPack : ManagementPack
) : String
Parameters
- managementPack
The Management Pack to add a reference to.
Return Value
A string that contains an alias for the newly created reference.
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
Reference
IAuthoringContext Interface
IAuthoringContext Members
Microsoft.EnterpriseManagement.UI Namespace