ManagementPack.ProcessElementReferences 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.
Overloads
ProcessElementReferences(String) |
Obsolete.
Processes a reference string that references multiple elements found in the management pack into a management pack element. |
ProcessElementReferences<T>(String) |
Processes element references found in this management pack in a particular workflow module. |
ProcessElementReferences(String)
Caution
Use ProcessElementReferences<ManagementPackElement>
Processes a reference string that references multiple elements found in the management pack into a management pack element.
public:
System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackElementReference<Microsoft::EnterpriseManagement::Configuration::ManagementPackElement ^> ^> ^ ProcessElementReferences(System::String ^ reference);
[System.Obsolete("Use ProcessElementReferences<ManagementPackElement>")]
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackElementReference<Microsoft.EnterpriseManagement.Configuration.ManagementPackElement>> ProcessElementReferences (string reference);
member this.ProcessElementReferences : string -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackElementReference<Microsoft.EnterpriseManagement.Configuration.ManagementPackElement>>
Public Function ProcessElementReferences (reference As String) As IList(Of ManagementPackElementReference(Of ManagementPackElement))
Parameters
- reference
- String
The reference string that is processed into a list of management pack elements. The following is an example of a reference string: $MPElement[Name="Microsoft.Windows.InternetInformationServices.2003.FTPServer"]$
.
Returns
A list of ManagementPackElementReference<T> references to ManagementPackElement objects.
- Attributes
Applies to
ProcessElementReferences<T>(String)
Processes element references found in this management pack in a particular workflow module.
public:
generic <typename T>
where T : Microsoft::EnterpriseManagement::Configuration::ManagementPackElement System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPackElementReference<T> ^> ^ ProcessElementReferences(System::String ^ reference);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackElementReference<T>> ProcessElementReferences<T> (string reference) where T : Microsoft.EnterpriseManagement.Configuration.ManagementPackElement;
member this.ProcessElementReferences : string -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPackElementReference<'T>> (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackElement)
Public Function ProcessElementReferences(Of T As ManagementPackElement) (reference As String) As IList(Of ManagementPackElementReference(Of T))
Type Parameters
- T
The management pack element.
Parameters
- reference
- String
The reference string to the process. Example: $MPElement[Name="Microsoft.Windows.InternetInformationServices.2003.FTPServer"]$
Returns
The IList<T> of element references.
Remarks
For example, the module may contain the following element references, returned in a list by this method:
$MPElement[Name="Microsoft.Windows.InternetInformationServices.2003.FTPServer"]$
$MPElement[Name="Windows!Microsoft.Windows.Computer"]$