Partager via


ManagementPackComponentImplementationUnit.WriteXml Method

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

Serializes this management pack element as XML.

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

Usage

'Usage
Dim instance As ManagementPackComponentImplementationUnit
Dim mp As ManagementPack
Dim writer As XmlWriter

instance.WriteXml(mp, writer)

Syntax

'Declaration
Public Sub WriteXml ( _
    mp As ManagementPack, _
    writer As XmlWriter _
)
public void WriteXml (
    ManagementPack mp,
    XmlWriter writer
)
public:
void WriteXml (
    ManagementPack^ mp, 
    XmlWriter^ writer
)
public void WriteXml (
    ManagementPack mp, 
    XmlWriter writer
)
public function WriteXml (
    mp : ManagementPack, 
    writer : XmlWriter
)

Parameters

  • mp
    The management pack to which to write the XML.
  • writer
    The XML writer to write the XML.

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

ManagementPackComponentImplementationUnit Class
ManagementPackComponentImplementationUnit Members
Microsoft.EnterpriseManagement.Configuration Namespace