Freigeben über


ManagementPackCriteria Constructor

Initializes a new ManagementPackCriteria object.

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

Usage

'Usage
Dim criteria As String

Dim instance As New ManagementPackCriteria(criteria)

Syntax

'Declaration
Public Sub New ( _
    criteria As String _
)
public ManagementPackCriteria (
    string criteria
)
public:
ManagementPackCriteria (
    String^ criteria
)
public ManagementPackCriteria (
    String criteria
)
public function ManagementPackCriteria (
    criteria : String
)

Parameters

  • criteria
    The criteria expression used to filter out Management Pack results returned by the GetManagementPacks method.

Example

For an example of the ManagementPackCriteria constructor, see How to Display Management Pack Contents.

Remarks

The following property names are valid names that can be used in the criteria expression:

  • Id

  • Sealed

  • Name

  • FriendlyName

  • Version

  • KeyToken

  • LastModified

  • TimeCreated

  • DisplayName

  • Description

  • VersionId

For information about the criteria expression syntax, see Criteria Expression Syntax.

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

ManagementPackCriteria Class
ManagementPackCriteria Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.