Compartilhar via


ManagementPackMeasureType.ReadElements Method

Reads XML element data from a management pack.

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

Usage

'Usage
Dim mp As ManagementPack
Dim reader As XmlReader
Dim returnValue As Boolean

returnValue = Me.ReadElements(mp, reader)

Syntax

'Declaration
Protected Friend Overrides Function ReadElements ( _
    mp As ManagementPack, _
    reader As XmlReader _
) As Boolean
protected internal override bool ReadElements (
    ManagementPack mp,
    XmlReader reader
)
protected public:
virtual bool ReadElements (
    ManagementPack^ mp, 
    XmlReader^ reader
) override
protected boolean ReadElements (
    ManagementPack mp, 
    XmlReader reader
)
protected internal override function ReadElements (
    mp : ManagementPack, 
    reader : XmlReader
) : boolean

Parameters

  • mp
    Specifies the management pack to read.
  • reader
    Specifies the XML reader stream from which the XML element data is read.

Return Value

Returns Boolean.

true if the method succeeded; otherwise, false.

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

ManagementPackMeasureType Class
ManagementPackMeasureType Members
Microsoft.EnterpriseManagement.Configuration Namespace