Partager via


ManagementPackRule Constructor

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new ManagementPackRule object by using a management pack and a string identifier.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim mp As ManagementPack
Dim identifier As String

Dim instance As New ManagementPackRule(mp, identifier)

Syntax

'Declaration
Public Sub New ( _
    mp As ManagementPack, _
    identifier As String _
)
public ManagementPackRule (
    ManagementPack mp,
    string identifier
)
public:
ManagementPackRule (
    ManagementPack^ mp, 
    String^ identifier
)
public ManagementPackRule (
    ManagementPack mp, 
    String identifier
)
public function ManagementPackRule (
    mp : ManagementPack, 
    identifier : String
)

Parameters

  • mp
    The management pack that has this element type.
  • identifier
    A string identifier for this management pack element type.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackRule Class
ManagementPackRule Members
Microsoft.EnterpriseManagement.Configuration Namespace