ManagementPack.GetResources<T> 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.
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.