Condividi tramite


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.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.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
Public Function ProcessTargetReference ( _
    referencestring As String, _
    workflowTarget As ManagementPackElementReference(Of ManagementPackClass) _
) As ManagementPackClassProperty
public ManagementPackClassProperty ProcessTargetReference (
    string referencestring,
    ManagementPackElementReference<ManagementPackClass> workflowTarget
)
public:
ManagementPackClassProperty^ ProcessTargetReference (
    String^ referencestring, 
    ManagementPackElementReference<ManagementPackClass^>^ workflowTarget
)
public ManagementPackClassProperty ProcessTargetReference (
    String referencestring, 
    ManagementPackElementReference<ManagementPackClass> workflowTarget
)
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 code example 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.

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

ManagementPack Class
ManagementPack Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.