ManagementPack Constructor (String, String, Version, IManagementPackStore)
Creates a new instance of the ManagementPack class using the specified name, friendly name, version, and store.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
'Usage
Dim Name As String
Dim FriendlyName As String
Dim version As Version
Dim storeForReferences As IManagementPackStore
Dim instance As New ManagementPack(Name, FriendlyName, version, storeForReferences)
Syntax
'Declaration
Public Sub New ( _
Name As String, _
FriendlyName As String, _
version As Version, _
storeForReferences As IManagementPackStore _
)
public ManagementPack (
string Name,
string FriendlyName,
Version version,
IManagementPackStore storeForReferences
)
public:
ManagementPack (
String^ Name,
String^ FriendlyName,
Version^ version,
IManagementPackStore^ storeForReferences
)
public ManagementPack (
String Name,
String FriendlyName,
Version version,
IManagementPackStore storeForReferences
)
public function ManagementPack (
Name : String,
FriendlyName : String,
version : Version,
storeForReferences : IManagementPackStore
)
Parameters
- Name
Specifies a name for the new management pack.
- FriendlyName
Specifies a friendly name for the new management pack. This value must not be null.
- version
Specifies a version for the new management pack, in the formatMajorVersion.MinorVersion.Build.Revision
. For example, the version could be1.0.0.0
.
- 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.)
Example
For an example of the ManagementPack constructor, see How to Create and Import a New Management Pack by Using the Operations Manager SDK.
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