Share via


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

Return value

Type: System.Boolean

See also

Reference

SmtpAddress structure

SmtpAddress members

Microsoft.Exchange.Data namespace