AutodiscoverService.Domain property

Gets or sets the domain that the specified Autodiscover service is bound to.

Namespace:  Microsoft.Exchange.WebServices.Autodiscover
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public string Domain { get; set; }

Property value

Type: System.String
The domain name.

When the AutodiscoverService class is instantiated with a domain name, that domain name is used to determine the Autodiscover service URL automatically.