Fqdn.IsValidFqdn Method
Determines if a fully-qualified domain name 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.String
The domain name to check.
Return Value
Type: System.Boolean
true if the domain name is valid; otherwise, false.