Share via


ManagementPackMonitorTypeDetection.WriteXml Method

Writes the XML for this Management Pack element to the specified Management Pack.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementPackMonitorTypeDetection
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 write the XML to.
  • writer
    The XmlWriter object that is used to write the XML to the Management Pack.

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,Windows Vista,Windows XP

See Also

Reference

ManagementPackMonitorTypeDetection Class
ManagementPackMonitorTypeDetection Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.