RoutingAddress.IsValidAddress Method
The IsValidAddress property gets a value that indicates whether the address specified by the address parameter is valid as a Simple Mail Transfer Protocol (SMTP) address.
Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)
Syntax
'Declaration
Public Shared Function IsValidAddress ( _
address As String _
) As Boolean
public static bool IsValidAddress (
string address
)
public:
static bool IsValidAddress (
String^ address
)
public static boolean IsValidAddress (
String address
)
public static function IsValidAddress (
address : String
) : boolean
Parameters
- address
The address to evaluate.
Return Value
The IsValidAddress property returns a value of true if the data that is contained in the structure is valid as a Simple Mail Transfer Protocol (SMTP) address; otherwise, the property returns a value of false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003