Share via


Fqdn.TryParse method

Converts the string representation of a fully qualified domain name (FQDN) to a Fqdn instance. A return value indicates whether the conversion succeeded or failed.

Namespace:  Microsoft.Exchange.Data
Assembly:  Microsoft.Exchange.Data (in Microsoft.Exchange.Data.dll)

Syntax

'Declaration
Public Shared Function TryParse ( _
    fqdn As String, _
    <OutAttribute> ByRef obj As Fqdn _
) As Boolean
'Usage
Dim fqdn As String
Dim obj As Fqdn
Dim returnValue As Boolean

returnValue = Fqdn.TryParse(fqdn, _
    obj)
public static bool TryParse(
    string fqdn,
    out Fqdn obj
)

Parameters

Return value

Type: System.Boolean
true if the conversion succeeded; otherwise, false.

See also

Reference

Fqdn class

Fqdn members

Microsoft.Exchange.Data namespace