ManagementPack Constructor (String, IManagementPackStore)
Initializes a new instance of the ManagementPack class by loading the ManagementPack object from the specified file path.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.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 file path of the management pack to load.
- storeForReferences
The store to load references from. The store is usually represented by a ManagementPackFileStore object when you are working with management packs in the file system or an EnterpriseManagementGroup object when you are working with a SystemCenter-based installation.
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