Partager via


SeedPathElement.TryParse Method (String, ManagementPack, EnterpriseManagementGroup, SeedPathElement)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Tries to parse the string that could contain GUIDs or alias references.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim value As String
Dim managementPack As ManagementPack
Dim managementGroup As EnterpriseManagementGroup
Dim seedPathElement As SeedPathElement
Dim returnValue As Boolean

returnValue = SeedPathElement.TryParse(value, managementPack, managementGroup, seedPathElement)

Syntax

'Declaration
Public Shared Function TryParse ( _
    value As String, _
    managementPack As ManagementPack, _
    managementGroup As EnterpriseManagementGroup, _
    <OutAttribute> ByRef seedPathElement As SeedPathElement _
) As Boolean
public static bool TryParse (
    string value,
    ManagementPack managementPack,
    EnterpriseManagementGroup managementGroup,
    out SeedPathElement seedPathElement
)
public:
static bool TryParse (
    String^ value, 
    ManagementPack^ managementPack, 
    EnterpriseManagementGroup^ managementGroup, 
    [OutAttribute] SeedPathElement^% seedPathElement
)
public static boolean TryParse (
    String value, 
    ManagementPack managementPack, 
    EnterpriseManagementGroup managementGroup, 
    /** @attribute OutAttribute() */ /** @ref */ SeedPathElement seedPathElement
)

Parameters

  • value
    The value.
  • managementPack
    The management pack.
  • managementGroup
    The management group.
  • seedPathElement
    The seed path element.

Return Value

true if the parsing succeeds; otherwise, false.

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

SeedPathElement Class
SeedPathElement Members
Microsoft.EnterpriseManagement.Common Namespace