Initializes 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

Visual Basic
Dim filepath As String

Dim instance As New ManagementPack(filepath)

Syntax

Visual Basic
Public Sub New ( _
		filepath As String _
)
C#
public ManagementPack (
		string filepath
)
C++
public:
ManagementPack (
		String^ filepath
)
J#
public ManagementPack (
		String filepath
)
JScript
public function ManagementPack (
		filepath : String
)

Parameters

filepath

The path from which to load the management pack. The file 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

[an error occurred while processing this directive]