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
fqdn
Type: System.StringThe domain name to check.
Return value
Type: System.Boolean
true if the domain name is valid; otherwise, false.