Udostępnij za pośrednictwem


ManagementPackElementInfo.WriteAttributes Method

Writes the attributes of 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.WriteAttributes(mp, writer)

Syntax

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

Parameters

  • hostMP
    The host Management Pack to write the attributes to.
  • writer
    The XML writer that contains the attributes 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.