SeedPathElement.TryParse Method (String, Generic ManagementPackElementReference, ManagementPack, EnterpriseManagementGroup, out SeedPathElement)
Tries to parse the string that could contain IDs or alias references.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim value As String
Dim target As ManagementPackElementReference(Of ManagementPackClass)
Dim managementPack As ManagementPack
Dim managementGroup As EnterpriseManagementGroup
Dim seedPathElement As SeedPathElement
Dim returnValue As Boolean
returnValue = SeedPathElement.TryParse(value, target, managementPack, managementGroup, seedPathElement)
Syntax
'Declaration
Public Shared Function TryParse ( _
value As String, _
target As ManagementPackElementReference(Of ManagementPackClass), _
managementPack As ManagementPack, _
managementGroup As EnterpriseManagementGroup, _
<OutAttribute> ByRef seedPathElement As SeedPathElement _
) As Boolean
public static bool TryParse (
string value,
ManagementPackElementReference<ManagementPackClass> target,
ManagementPack managementPack,
EnterpriseManagementGroup managementGroup,
out SeedPathElement seedPathElement
)
public:
static bool TryParse (
String^ value,
ManagementPackElementReference<ManagementPackClass^>^ target,
ManagementPack^ managementPack,
EnterpriseManagementGroup^ managementGroup,
[OutAttribute] SeedPathElement^% seedPathElement
)
public static boolean TryParse (
String value,
ManagementPackElementReference<ManagementPackClass> target,
ManagementPack managementPack,
EnterpriseManagementGroup managementGroup,
/** @attribute OutAttribute() */ /** @ref */ SeedPathElement seedPathElement
)
Parameters
- value
The value.
- target
The target.
- managementPack
The management pack.
- managementGroup
The management group.
- seedPathElement
The seed path element.
Return Value
Returns Boolean.
true if parsing succeeded; 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