SmtpDomainWithSubdomains class

Specifies the SMTP domain that you want to establish as an accepted domain.

Inheritance hierarchy

System.Object
  Microsoft.Exchange.Data.SmtpDomainWithSubdomains

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class SmtpDomainWithSubdomains
'Usage
Dim instance As SmtpDomainWithSubdomains
[SerializableAttribute]
public class SmtpDomainWithSubdomains

Remarks

Valid input for the DomainName parameter is an SMTP domain. You can use a wildcard character to specify all subdomains of a specified domain, as shown in the following example: *.contoso.com.However, you can't embed a wildcard character, as shown in the following example: domain.*.contoso.com. The domain name string may not contain more than 256 characters.

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.

See also

Reference

SmtpDomainWithSubdomains members

Microsoft.Exchange.Data namespace