Udostępnij za pośrednictwem


ManagementPackElementInfo.WriteElements Method

Writes the child elements to this Management Pack element.

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

Usage

'Usage
Dim mp As ManagementPack
Dim writer As XmlWriter

Me.WriteElements(mp, writer)

Syntax

'Declaration
Protected Friend Overridable Sub WriteElements ( _
    mp As ManagementPack, _
    writer As XmlWriter _
)
protected internal virtual void WriteElements (
    ManagementPack mp,
    XmlWriter writer
)
protected public:
virtual void WriteElements (
    ManagementPack^ mp, 
    XmlWriter^ writer
)
protected void WriteElements (
    ManagementPack mp, 
    XmlWriter writer
)
protected internal function WriteElements (
    mp : ManagementPack, 
    writer : XmlWriter
)

Parameters

  • hostMP
    The host Management Pack to write the elements to.
  • writer
    The XML writer that contains the elements to write.

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

ManagementPackElementInfo Class
ManagementPackElementInfo Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.