Share via


SmtpDomain.TryParse method

Namespace:  Microsoft.Exchange.Data
Assembly:  Microsoft.Exchange.Data (in Microsoft.Exchange.Data.dll)

Syntax

'Declaration
Public Shared Function TryParse ( _
    domain As String, _
    <OutAttribute> ByRef obj As SmtpDomain _
) As Boolean
'Usage
Dim domain As String
Dim obj As SmtpDomain
Dim returnValue As Boolean

returnValue = SmtpDomain.TryParse(domain, _
    obj)
public static bool TryParse(
    string domain,
    out SmtpDomain obj
)

Parameters

Return value

Type: System.Boolean

See also

Reference

SmtpDomain class

SmtpDomain members

Microsoft.Exchange.Data namespace