Writes the information for the specified Management Pack in the Management Group. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ManagementPackDatabaseWriter
Dim mp As ManagementPack
Dim returnValue As String

returnValue = instance.WriteManagementPack(mp)

Syntax

Visual Basic
Public Overrides Function WriteManagementPack ( _
		mp As ManagementPack _
) As String
C#
public override string WriteManagementPack (
		ManagementPack mp
)
C++
public:
virtual String^ WriteManagementPack (
		ManagementPack^ mp
) override
J#
public String WriteManagementPack (
		ManagementPack mp
)
JScript
public override function WriteManagementPack (
		mp : ManagementPack
) : String

Parameters

mp

The Management Pack to write to the Management Group.

Return Value

Returns the identifier for the Management Pack that was written to the Management Group.

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