Share via


ManagementPack.GetResources<T> Method

Definition

Retrieves a collection of ManagementPackResource objects defined in this management pack.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Configuration::ManagementPackResource Microsoft::EnterpriseManagement::Configuration::ManagementPackElementCollection<T> ^ GetResources();
public Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<T> GetResources<T> () where T : Microsoft.EnterpriseManagement.Configuration.ManagementPackResource;
member this.GetResources : unit -> Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<'T (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackResource)> (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackResource)
Public Function GetResources(Of T As ManagementPackResource) () As ManagementPackElementCollection(Of T)

Type Parameters

T

The ManagementPackResource type to retrieve.

Returns

The ManagementPackResource objects of the specified type defined in this management pack.

Applies to