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