[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Writes the management pack XML using an XmlWriter stream. The management pack XML is written to a file. Namespace: Microsoft.EnterpriseManagement.Configuration.IO
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As ManagementPackXmlWriter
Dim mp As ManagementPack
Dim resources As IDictionary(Of String, ResourceStream)
Dim returnValue As String

returnValue = instance.WriteManagementPack(mp, resources)

Syntax

Visual Basic
Public Overrides Function WriteManagementPack ( _
		mp As ManagementPack, _
		resources As IDictionary(Of String, ResourceStream) _
) As String
C#
public override string WriteManagementPack (
		ManagementPack mp,
		IDictionary<string,ResourceStream> resources
)
C++
public:
virtual String^ WriteManagementPack (
		ManagementPack^ mp, 
		IDictionary<String^, ResourceStream^>^ resources
) override
J#
public String WriteManagementPack (
		ManagementPack mp, 
		IDictionary<String,ResourceStream> resources
)
JScript
public override function WriteManagementPack (
		mp : ManagementPack, 
		resources : IDictionary<String,ResourceStream>
) : String

Parameters

mp

The ManagementPack object to write.

resources

The management pack’s resources.

Return Value

Returns String. The file name of the management pack file.

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

See Also