Compartilhar via


ManagementPackDatabaseWriter.WriteManagementPack Method (ManagementPack, IDictionary)

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

Writes the information for the specified management pack in the management group.

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

Usage

'Usage
Dim instance As ManagementPackDatabaseWriter
Dim mp As ManagementPack
Dim resources As IDictionary(Of String, ResourceStream)
Dim returnValue As String

returnValue = instance.WriteManagementPack(mp, resources)

Syntax

'Declaration
Public Overrides Function WriteManagementPack ( _
    mp As ManagementPack, _
    resources As IDictionary(Of String, ResourceStream) _
) As String
public override string WriteManagementPack (
    ManagementPack mp,
    IDictionary<string,ResourceStream> resources
)
public:
virtual String^ WriteManagementPack (
    ManagementPack^ mp, 
    IDictionary<String^, ResourceStream^>^ resources
) override
public String WriteManagementPack (
    ManagementPack mp, 
    IDictionary<String,ResourceStream> resources
)
public override function WriteManagementPack (
    mp : ManagementPack, 
    resources : IDictionary<String,ResourceStream>
) : String

Parameters

  • mp
    The management pack to write to the management group.
  • resources
    The resources.

Return Value

Returns String.

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

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackDatabaseWriter Class
ManagementPackDatabaseWriter Members
Microsoft.EnterpriseManagement.Configuration Namespace