Edit

Share via


AutodiscoverService Constructors

Definition

Overloads

AutodiscoverService()

Initializes a new instance of the AutodiscoverService class.

AutodiscoverService(ExchangeVersion)

Initializes a new instance of the AutodiscoverService class that has the server version specified by the requestedServerVersion parameter.

AutodiscoverService(String)

Initializes a new instance of the AutodiscoverService class that has the domain specified by the domain parameter.

AutodiscoverService(Uri)

Initializes a new instance of the AutodiscoverService class that has the Autodiscover service URL specified by the url parameter.

AutodiscoverService(String, ExchangeVersion)

Initializes a new instance of the AutodiscoverService class that has the domain specified by the domain parameter and the server version specified by the requestedServerVersion parameter.

AutodiscoverService(Uri, ExchangeVersion)

Initializes a new instance of the AutodiscoverService class that has the Autodiscover service URL specified by the url parameter and the server version specified by the requestedServerVersion parameter.

AutodiscoverService()

Initializes a new instance of the AutodiscoverService class.

public:
 AutodiscoverService();
public AutodiscoverService ();
Public Sub New ()

Applies to

AutodiscoverService(ExchangeVersion)

Initializes a new instance of the AutodiscoverService class that has the server version specified by the requestedServerVersion parameter.

public:
 AutodiscoverService(Microsoft::Exchange::WebServices::Data::ExchangeVersion requestedServerVersion);
public AutodiscoverService (Microsoft.Exchange.WebServices.Data.ExchangeVersion requestedServerVersion);
Public Sub New (requestedServerVersion As ExchangeVersion)

Parameters

requestedServerVersion
ExchangeVersion

One of the ExchangeVersion enumeration values that specifies the server version to be used for operation requests.

Applies to

AutodiscoverService(String)

Initializes a new instance of the AutodiscoverService class that has the domain specified by the domain parameter.

public:
 AutodiscoverService(System::String ^ domain);
public AutodiscoverService (string domain);
Public Sub New (domain As String)

Parameters

domain
String

The domain that will be used to determine the URL of the Autodiscover service.

Applies to

AutodiscoverService(Uri)

Initializes a new instance of the AutodiscoverService class that has the Autodiscover service URL specified by the url parameter.

public:
 AutodiscoverService(Uri ^ url);
public AutodiscoverService (Uri url);
Public Sub New (url As Uri)

Parameters

url
Uri

The URL of the Autodiscover service.

Applies to

AutodiscoverService(String, ExchangeVersion)

Initializes a new instance of the AutodiscoverService class that has the domain specified by the domain parameter and the server version specified by the requestedServerVersion parameter.

public:
 AutodiscoverService(System::String ^ domain, Microsoft::Exchange::WebServices::Data::ExchangeVersion requestedServerVersion);
public AutodiscoverService (string domain, Microsoft.Exchange.WebServices.Data.ExchangeVersion requestedServerVersion);
Public Sub New (domain As String, requestedServerVersion As ExchangeVersion)

Parameters

domain
String

The domain that will be used to determine the URL of the Autodiscover service.

requestedServerVersion
ExchangeVersion

One of the enumeration values that specifies the server version to use for operation requests.

Applies to

AutodiscoverService(Uri, ExchangeVersion)

Initializes a new instance of the AutodiscoverService class that has the Autodiscover service URL specified by the url parameter and the server version specified by the requestedServerVersion parameter.

public:
 AutodiscoverService(Uri ^ url, Microsoft::Exchange::WebServices::Data::ExchangeVersion requestedServerVersion);
public AutodiscoverService (Uri url, Microsoft.Exchange.WebServices.Data.ExchangeVersion requestedServerVersion);
Public Sub New (url As Uri, requestedServerVersion As ExchangeVersion)

Parameters

url
Uri

The URL of the Autodiscover service.

requestedServerVersion
ExchangeVersion

One of the enumeration values that specifies the server version to be used for operation requests.

Applies to