ManagementPack Constructor (String, String[])

Creates a new instance of the ManagementPack class given the specified file path and directory list.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim filepath As String
Dim includeDirectories As String()

Dim instance As New ManagementPack(filepath, includeDirectories)

Syntax

'Declaration
Public Sub New ( _
    filepath As String, _
    includeDirectories As String() _
)
public ManagementPack (
    string filepath,
    string[] includeDirectories
)
public:
ManagementPack (
    String^ filepath, 
    array<String^>^ includeDirectories
)
public ManagementPack (
    String filepath, 
    String[] includeDirectories
)
public function ManagementPack (
    filepath : String, 
    includeDirectories : String[]
)

Parameters

  • filepath
    The path and file name of the management pack. The file name extension must be .xml or .mp.
  • includeDirectories
    A directory list to search for reference management packs.

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

Send comments about this topic to Microsoft.