IResourceManagement.GetResources Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Parameters
- criteria
- ManagementPackResourceCriteria<T>
The search criteria.
Returns
IList<T>
The list of management pack resources.