Compartilhar via


ManagementPack.ProcessTargetReference Method

Processes the specified reference and target in the management pack into a management pack class property.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As ManagementPack
Dim referencestring As String
Dim workflowTarget As ManagementPackElementReference(Of ManagementPackClass)
Dim returnValue As ManagementPackClassProperty

returnValue = instance.ProcessTargetReference(referencestring, workflowTarget)

Syntax

'Declaration
<ObsoleteAttribute("This method will be changed to return a ManagementPackProperty")> _
Public Function ProcessTargetReference ( _
    referencestring As String, _
    workflowTarget As ManagementPackElementReference(Of ManagementPackClass) _
) As ManagementPackClassProperty
[ObsoleteAttribute("This method will be changed to return a ManagementPackProperty")] 
public ManagementPackClassProperty ProcessTargetReference (
    string referencestring,
    ManagementPackElementReference<ManagementPackClass> workflowTarget
)
[ObsoleteAttribute(L"This method will be changed to return a ManagementPackProperty")] 
public:
ManagementPackClassProperty^ ProcessTargetReference (
    String^ referencestring, 
    ManagementPackElementReference<ManagementPackClass^>^ workflowTarget
)
/** @attribute ObsoleteAttribute("This method will be changed to return a ManagementPackProperty") */ 
public ManagementPackClassProperty ProcessTargetReference (
    String referencestring, 
    ManagementPackElementReference<ManagementPackClass> workflowTarget
)
ObsoleteAttribute("This method will be changed to return a ManagementPackProperty") 
public function ProcessTargetReference (
    referencestring : String, 
    workflowTarget : ManagementPackElementReference<ManagementPackClass>
) : ManagementPackClassProperty

Parameters

  • referencestring
    The reference string that is processed into a management pack class property. The following is an example of a reference string: $Target/Property[Type="Windows!Microsoft.Windows.InternetInformationServices.2003.FTPServer"]/Timeout$.
  • workflowTarget
    The target class for the workflow where the reference is found. For example, the Target property of a rule if a rule module configuration is being processed.

Return Value

A ManagementPackClassProperty object.

The specified reference and target.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPack Class
ManagementPack Members
Microsoft.EnterpriseManagement.Configuration Namespace