ManagementPack.GetResource<T>(String) 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 specified management pack resource from a management pack.
public:
generic <typename T>
where T : Microsoft::EnterpriseManagement::Configuration::ManagementPackResource T GetResource(System::String ^ name);
public T GetResource<T> (string name) where T : Microsoft.EnterpriseManagement.Configuration.ManagementPackResource;
member this.GetResource : string -> 'T (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackResource)
Public Function GetResource(Of T As ManagementPackResource) (name As String) As T
Type Parameters
- T
The specified ManagementPackResource object type.
Parameters
- name
- String
The specified resource name.
Returns
T
The specified management pack resource.