RoutingDomain.IsValid Method
The IsValid method evaluates the validity of the domain that is represented by this instance of the RoutingDomain structure. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).
Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Function IsValid As Boolean
'Usage
Dim instance As RoutingDomain
Dim returnValue As Boolean
returnValue = instance.IsValid()
public bool IsValid()
Return Value
Type: System.Boolean
The IsValid method returns true if the domain is a valid Simple Mail Transfer Protocol (SMTP) domain; otherwise, the method returns false.