Share via


ManagementPackDiscoveryRelationship.WriteXml Method

Serializes this object as XML.

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

Usage

'Usage
Dim instance As ManagementPackDiscoveryRelationship
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 that contains this object.
  • writer
    The XmlWriter object to write the output to.

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

ManagementPackDiscoveryRelationship Class
ManagementPackDiscoveryRelationship Members
Microsoft.EnterpriseManagement.Configuration Namespace