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

GraphClient.Connect Method

Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 8.0.9673)

Connect()

Connects to the Microsoft 365 or Exchange Online server at https://graph.microsoft.com.

Declaration
public void Connect()
Examples

See Connect code example on product pages.

Connect(String, Int32)

Connects to a Graph server using specified port via HTTPS.

Declaration
public void Connect(string serverName = "graph.microsoft.com", int serverPort = 443)
Parameters
Type Name Description
String serverName

Name of the server ('graph.microsoft.com').

Int32 serverPort

Port of the server (443).

Examples

See Connect code example on product pages.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies