Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
---|
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
Visual Basic |
---|
Public Sub New ( _ Name As String, _ FriendlyName As String, _ version As Version, _ storeForReferences As IManagementPackStore _ ) |
C# |
---|
public ManagementPack ( string Name, string FriendlyName, Version version, IManagementPackStore storeForReferences ) |
C++ |
---|
public: ManagementPack ( String^ Name, String^ FriendlyName, Version^ version, IManagementPackStore^ storeForReferences ) |
J# |
---|
public ManagementPack ( String Name, String FriendlyName, Version version, IManagementPackStore storeForReferences ) |
JScript |
---|
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 format
MajorVersion.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 (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.