Share via


Fqdn.IsValidFqdn method

Determines whether a fully qualified domain name (FQDN) is a valid domain name.

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

Syntax

'Declaration
Public Shared Function IsValidFqdn ( _
    fqdn As String _
) As Boolean
'Usage
Dim fqdn As String
Dim returnValue As Boolean

returnValue = Fqdn.IsValidFqdn(fqdn)
public static bool IsValidFqdn(
    string fqdn
)

Parameters

Return value

Type: System.Boolean
true if the domain name is valid; otherwise, false.

See also

Reference

Fqdn class

Fqdn members

Microsoft.Exchange.Data namespace