Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ews.Connect Method

Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9147)

Connect(String)

Connects to an Exchange Server using HTTPS.

Declaration
public void Connect(string serverName)
Parameters
Type Name Description
String serverName

Name of the Exchange server.

Connect(String, SslMode)

Connects to an Exchange server using the specified TLS/SSL mode (None for HTTP, Implicit for HTTPS).

Declaration
public void Connect(string serverName, SslMode mode)
Parameters
Type Name Description
String serverName

Name of the Exchange server.

SslMode mode

TLS/SSL mode to use. Valid values are None (HTTP) and Implicit (HTTPS).

Connect(String, Int32, SslMode)

Connects to an Exchange server using specified port and TLS/SSL mode.

Declaration
public void Connect(string serverName, int serverPort, SslMode mode)
Parameters
Type Name Description
String serverName

Name of the Exchange server.

Int32 serverPort

The server port (e.g. 80 or 443).

SslMode mode

TLS/SSL mode to use. Valid values are None (HTTP) and Implicit (HTTPS).

In This Article
  • Connect(String)
  • Connect(String, SslMode)
  • Connect(String, Int32, SslMode)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies