Share via


AcceptedDomain.DomainName property

Gets or sets the SMTP domain for which the server sends and receives email.

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

Syntax

'Declaration
Public Property DomainName As SmtpDomainWithSubdomains
    Get
    Set
'Usage
Dim instance As AcceptedDomain
Dim value As SmtpDomainWithSubdomains

value = instance.DomainName

instance.DomainName = value
public SmtpDomainWithSubdomains DomainName { get; set; }

Property value

Type: Microsoft.Exchange.Data.SmtpDomainWithSubdomains
The SMTP domain and any subdomains that the server sends and receives email for.

See also

Reference

AcceptedDomain class

AcceptedDomain members

Microsoft.Exchange.Data.Directory.SystemConfiguration namespace