Share via


IEntityTypeManagement.GetClasses Method

Definition

Gets a collection of management pack classes. Classes are defined in a management pack under the ClassTypes element that is under the EntityTypes element.

Overloads

GetClasses()

Gets all classes that are defined in this management group.

GetClasses(ManagementPackClassCriteria)

Gets all classes that are defined in this management group based on the provided criteria.

GetClasses(ICollection<Guid>)

Gets all classes that are defined in this management group based on the collection of identifiers.

GetClasses()

Gets all classes that are defined in this management group.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^> ^ GetClasses();
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackClass> GetClasses ();
abstract member GetClasses : unit -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackClass>
Public Function GetClasses () As IList(Of ManagementPackClass)

Returns

The collection of classes.

Applies to

GetClasses(ManagementPackClassCriteria)

Gets all classes that are defined in this management group based on the provided criteria.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^> ^ GetClasses(Microsoft::EnterpriseManagement::Configuration::ManagementPackClassCriteria ^ criteria);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackClass> GetClasses (Microsoft.EnterpriseManagement.Configuration.ManagementPackClassCriteria criteria);
abstract member GetClasses : Microsoft.EnterpriseManagement.Configuration.ManagementPackClassCriteria -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackClass>
Public Function GetClasses (criteria As ManagementPackClassCriteria) As IList(Of ManagementPackClass)

Parameters

criteria
ManagementPackClassCriteria

The criteria that define which classes to return.

Returns

The collection of classes.

Exceptions

An error has occurred.

The criteria parameter is a null reference (Nothing in Visual Basic).

Applies to

GetClasses(ICollection<Guid>)

Gets all classes that are defined in this management group based on the collection of identifiers.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^> ^ GetClasses(System::Collections::Generic::ICollection<Guid> ^ ids);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackClass> GetClasses (System.Collections.Generic.ICollection<Guid> ids);
abstract member GetClasses : System.Collections.Generic.ICollection<Guid> -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackClass>
Public Function GetClasses (ids As ICollection(Of Guid)) As IList(Of ManagementPackClass)

Parameters

ids
ICollection<Guid>

The collection of class identifiers.

Returns

The collection of classes.

Exceptions

The ids parameter is a null reference (Nothing in Visual Basic).

The ids parameter collection does not contain any items.

Applies to

Thread Safety

These methods are thread safe.