Share via


ManagementPack.ProcessElementReferencesIncludeTokens<T>(String) Method

Definition

Scans the management pack and finds all of the $MPElement[…]$ tokens. It then parses the tokens and creates ManagementPackElementReference<T>&lt;ManagementPackElement&gt; 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=&quot;Microsoft.Windows.InternetInformationServices.2003.FTPServer&quot;]$

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"]$

Applies to