Partager via


ManagementPackAssemblyWriter.WriteManagementPack Method (ManagementPack)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Writes the management pack.

Namespace: Microsoft.EnterpriseManagement.Configuration.IO
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As ManagementPackAssemblyWriter
Dim mp As ManagementPack
Dim returnValue As String

returnValue = instance.WriteManagementPack(mp)

Syntax

'Declaration
Public Overrides Function WriteManagementPack ( _
    mp As ManagementPack _
) As String
public override string WriteManagementPack (
    ManagementPack mp
)
public:
virtual String^ WriteManagementPack (
    ManagementPack^ mp
) override
public String WriteManagementPack (
    ManagementPack mp
)
public override function WriteManagementPack (
    mp : ManagementPack
) : String

Parameters

  • mp
    The management pack to create a DLL file for.

Return Value

Returns String.

Returns a string value that contains the identifier for the management pack that was written to the DLL file.

Remarks

Creates a sealed management pack DLL file. The settings for the DLL file, such as the path to write the file, are defined in the ManagementPackAssemblyWriter constructor by passing a ManagementPackAssemblyWriterSettings object into the settings parameter of the constructor.

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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackAssemblyWriter Class
ManagementPackAssemblyWriter Members
Microsoft.EnterpriseManagement.Configuration.IO Namespace