ZohoConnection Constructor(String)
Initializes a new instance of the
ZohoConnection class when given a string containing the connection string.
The following example creates and opens a
ZohoConnection.
public void CreateZohoConnection()
{
string myConnString =
"API Version=V2;Refresh Token=1000.a6fde76542bfbb5244a7e539d4390e72.87e34ea57023c2d0e7dcb9ce55e3e7f3;ClientId=1000.M4FJLKYTSED90LJHUTVMKKAA432RUK;ClientSecret=89a0ed79957808814cdb20b9765423efffa767d1d0";
ZohoConnection zohoConnection = new ZohoConnection(myConnString);
zohoConnection.Open();
//Do something
zohoConnection.Close();
}
Public Sub CreateZohoConnection()
Dim myConnString As String = _
"API Version=V2;Refresh Token=1000.a6fde76542bfbb5244a7e539d4390e72.87e34ea57023c2d0e7dcb9ce55e3e7f3;ClientId=1000.M4FJLKYTSED90LJHUTVMKKAA432RUK;ClientSecret=89a0ed79957808814cdb20b9765423efffa767d1d0"
Dim zohoConnection As New ZohoConnection(myConnString)
zohoConnection.Open()
'Do something
zohoConnection.Close()
End Sub