Initializes a new ManagementPackCriteria object. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim criteria As String

Dim instance As New ManagementPackCriteria(criteria)

Syntax

Visual Basic
Public Sub New ( _
		criteria As String _
)
C#
public ManagementPackCriteria (
		string criteria
)
C++
public:
ManagementPackCriteria (
		String^ criteria
)
J#
public ManagementPackCriteria (
		String criteria
)
JScript
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

[an error occurred while processing this directive]