ManagementPack Constructor (String, IManagementPackStore)
Creates 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
'Usage
Dim filepath As String
Dim storeForReferences As IManagementPackStore
Dim instance As New ManagementPack(filepath, storeForReferences)
Syntax
'Declaration
Public Sub New ( _
filepath As String, _
storeForReferences As IManagementPackStore _
)
public ManagementPack (
string filepath,
IManagementPackStore storeForReferences
)
public:
ManagementPack (
String^ filepath,
IManagementPackStore^ storeForReferences
)
public ManagementPack (
String filepath,
IManagementPackStore storeForReferences
)
public function ManagementPack (
filepath : String,
storeForReferences : IManagementPackStore
)
Parameters
- filepath
The path and file name of the management pack. The file name extension must be .xml or .mp.
- storeForReferences
The store to use when searching for referenced management packs. This is usually a ManagementPackFileStore object (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
Reference
ManagementPack Class
ManagementPack Members
Microsoft.EnterpriseManagement.Configuration Namespace