Share via


IResourceManagement.GetResources Method

Definition

Gets a list of management pack resources.

Overloads

GetResources<T>()

Gets all resources in a management pack.

GetResources<T>(ManagementPackResourceCriteria<T>)

Gets all resources in a management pack that match the provided criteria.

GetResources<T>()

Gets all resources in a management pack.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Configuration::ManagementPackResource System::Collections::Generic::IList<T> ^ GetResources();
public System.Collections.Generic.IList<T> GetResources<T> () where T : Microsoft.EnterpriseManagement.Configuration.ManagementPackResource;
abstract member GetResources : unit -> System.Collections.Generic.IList<'T (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackResource)> (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackResource)
Public Function GetResources(Of T As ManagementPackResource) () As IList(Of T)

Type Parameters

T

The type of resource to return.

Of type ManagementPackResource.

Returns

IList<T>

The list of management pack resources.

Applies to

GetResources<T>(ManagementPackResourceCriteria<T>)

Gets all resources in a management pack that match the provided criteria.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Configuration::ManagementPackResource System::Collections::Generic::IList<T> ^ GetResources(Microsoft::EnterpriseManagement::Configuration::ManagementPackResourceCriteria<T> ^ criteria);
public System.Collections.Generic.IList<T> GetResources<T> (Microsoft.EnterpriseManagement.Configuration.ManagementPackResourceCriteria<T> criteria) where T : Microsoft.EnterpriseManagement.Configuration.ManagementPackResource;
abstract member GetResources : Microsoft.EnterpriseManagement.Configuration.ManagementPackResourceCriteria<'T (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackResource)> -> System.Collections.Generic.IList<'T (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackResource)> (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackResource)
Public Function GetResources(Of T As ManagementPackResource) (criteria As ManagementPackResourceCriteria(Of T)) As IList(Of T)

Type Parameters

T

The type of resource to return.

Of type ManagementPackResource.

Parameters

criteria
ManagementPackResourceCriteria<T>

The search criteria.

Returns

IList<T>

The list of management pack resources.

Applies to