Open Method (ZohoConnection)
Opens a Zoho CRM connection with the property settings specified by the
ConnectionString.
The following example creates a
ZohoConnection, opens it, displays some of its properties, and then closes the connection.
|
|---|
public void CreateZohoConnection(string myConnString)
{
ZohoConnection zohoConnection = new ZohoConnection(myConnString);
zohoConnection.Open();
MessageBox.Show("ServerVersion: " + zohoConnection.ServerVersion
+ "\nState: " + zohoConnection.State.ToString());
zohoConnection.Close();
} |
|
|---|
Public Sub CreateZohoConnection(myConnString As String)
Dim zohoConnection As New ZohoConnection(myConnString)
zohoConnection.Open()
MessageBox.Show("ServerVersion: " + zohoConnection.ServerVersion _
+ ControlChars.Cr + "State: " + zohoConnection.State.ToString())
zohoConnection.Close()
End Sub |