ManagementPack.ProcessElementReferencesIncludeTokens<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.
Scans the management pack and finds all of the $MPElement[…]$ tokens. It then parses the tokens and creates ManagementPackElementReference<T><ManagementPackElement> objects (element references) that are returned.
public:
generic <typename T>
where T : Microsoft::EnterpriseManagement::Configuration::ManagementPackElement System::Collections::Generic::IList<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::EnterpriseManagement::Configuration::ManagementPackElementReference<T> ^>> ^ ProcessElementReferencesIncludeTokens(System::String ^ reference);
public System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<string,Microsoft.EnterpriseManagement.Configuration.ManagementPackElementReference<T>>> ProcessElementReferencesIncludeTokens<T> (string reference) where T : Microsoft.EnterpriseManagement.Configuration.ManagementPackElement;
member this.ProcessElementReferencesIncludeTokens : string -> System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<string, Microsoft.EnterpriseManagement.Configuration.ManagementPackElementReference<'T>>> (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackElement)
Public Function ProcessElementReferencesIncludeTokens(Of T As ManagementPackElement) (reference As String) As IList(Of KeyValuePair(Of String, ManagementPackElementReference(Of T)))
Type Parameters
- T
The management pack element.
Parameters
- reference
- String
The reference string to the process. For example, the reference string: $MPElement[Name="Microsoft.Windows.InternetInformationServices.2003.FTPServer"]$
Returns
The IList<T> of element references.
Remarks
For example, the management pack may contain the following tokens, returned as element references:
$MPElement[Name="Microsoft.Windows.InternetInformationServices.2003.FTPServer"]$
$MPElement[Name="Windows!Microsoft.Windows.Computer"]$