Initializes 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

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 be 1.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.

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