Condividi tramite


ManagementPack Constructor (TextReader, IManagementPackStore)

Initializes a new instance of the ManagementPack class by reading the contents of a management pack from a string by using a TextReader object.

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

Usage

'Usage
Dim mpcontents As TextReader
Dim storeForReferences As IManagementPackStore

Dim instance As New ManagementPack(mpcontents, storeForReferences)

Syntax

'Declaration
Public Sub New ( _
    mpcontents As TextReader, _
    storeForReferences As IManagementPackStore _
)
public ManagementPack (
    TextReader mpcontents,
    IManagementPackStore storeForReferences
)
public:
ManagementPack (
    TextReader^ mpcontents, 
    IManagementPackStore^ storeForReferences
)
public ManagementPack (
    TextReader mpcontents, 
    IManagementPackStore storeForReferences
)
public function ManagementPack (
    mpcontents : TextReader, 
    storeForReferences : IManagementPackStore
)

Parameters

  • mpcontents
    The management pack XML content to read.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPack Class
ManagementPack Members
Microsoft.EnterpriseManagement.Configuration Namespace