dotConnect for Zoho Desk Documentation
Devart.Data.ZohoDesk Namespace / ZohoDeskConnection Class / ZohoDeskConnection Constructor / ZohoDeskConnection Constructor()
Example

ZohoDeskConnection Constructor()
Initializes a new instance of the ZohoDeskConnection class.
Syntax
'Declaration
 
Public Function New()
 
Remarks
When a new instance of ZohoDeskConnection is created, the read/write properties are set to the following initial values unless they are specifically set using their associated keywords in the ConnectionString property.
Example
The following example creates and opens a ZohoDeskConnection.
public void CreateZohoDeskConnection()
{
  ZohoDeskConnection ZohoDeskConnection = new ZohoDeskConnection();
  ZohoDeskConnection.ConnectionString = 
      Refresh Token=1000.a6fde76542bfbb5244a7e539d4390e72.87e34ea57023c2d0e7dcb9ce55e3e7f;
  ZohoDeskConnection.Open();
  //Do something
  ZohoDeskConnection.Close();
}
Public Sub CreateZohoDeskConnection()
  Dim ZohoDeskConnection As New ZohoDeskConnection()
  ZohoDeskConnection.ConnectionString = _ 
      Refresh Token=1000.a6fde76542bfbb5244a7e539d4390e72.87e34ea57023c2d0e7dcb9ce55e3e7f
  ZohoDeskConnection.Open()
  'Do something
  ZohoDeskConnection.Close()
End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also