SmtpAddress.IsValidDomain Method
Namespace: Microsoft.Exchange.Data
Assembly: Microsoft.Exchange.Data (in Microsoft.Exchange.Data.dll)
Syntax
'Declaration
Public Shared Function IsValidDomain ( _
domain As String _
) As Boolean
'Usage
Dim domain As String
Dim returnValue As Boolean
returnValue = SmtpAddress.IsValidDomain(domain)
public static bool IsValidDomain(
string domain
)
Parameters
- domain
Type: System.String
Return Value
Type: System.Boolean