Share via


ManagementPack Constructor (String)

Creates a new instance of the ManagementPack class from the specified file path.

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

Usage

'Usage
Dim filepath As String

Dim instance As New ManagementPack(filepath)

Syntax

'Declaration
Public Sub New ( _
    filepath As String _
)
public ManagementPack (
    string filepath
)
public:
ManagementPack (
    String^ filepath
)
public ManagementPack (
    String filepath
)
public function ManagementPack (
    filepath : String
)

Parameters

  • filepath
    The path from which to load the management pack. The file name extension must be .xml or .mp.

Remarks

The ManagementPack constructor assumes that all the references to the management pack being loaded are also available at the same file path. Use other constructor overloads if you want to include other file paths or load management packs from the database.

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

ManagementPack Class
ManagementPack Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.