Initializes a new instance of the ManagementPack class from the specified file path and store. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim filepath As String
Dim storeForReferences As IManagementPackStore

Dim instance As New ManagementPack(filepath, storeForReferences)

Syntax

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

Parameters

filepath

The path and file name of the management pack. The file extension must be .xml or .mp.

storeForReferences

The store to use when searching for referenced management packs. This is usually a ManagementPackFileStore (when working with management packs in the file system only) or a ManagementGroup object (when working with a SystemCenter installation.)

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]