'Declaration Public Function New( _ ByVal connectionString As String _ )
public QuickBooksConnection( string connectionString )
Parameters
- connectionString
- The connection used to connect to QuickBooks Online.
'Declaration Public Function New( _ ByVal connectionString As String _ )
public QuickBooksConnection( string connectionString )
public void CreateQuickBooksConnection() { string myConnString = "Company Id=1440905870;Refresh Token=AB11590759756UCO8O6CpRQcAMP00sIANafgS8Y4RN10rpLJNM;Token Server=file://D:\\temp\\QuickBooksToken.txt"; QuickBooksConnection quickBooksConnection = new QuickBooksConnection(myConnString); quickBooksConnection.Open(); //Do something quickBooksConnection.Close(); }
Public Sub CreateQuickBooksConnection() Dim myConnString As String = _ "Company Id=1440905870;Refresh Token=AB11590759756UCO8O6CpRQcAMP00sIANafgS8Y4RN10rpLJNM;Token Server=file://D:\\temp\\QuickBooksToken.txt" Dim quickBooksConnection As New QuickBooksConnection(myConnString) quickBooksConnection.Open() 'Do something quickBooksConnection.Close() End Sub
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