Note that QuickBooks may revoke refresh token after 24 hours, and the application needs to obtain a new token. dotConnect for QuickBooks can automatically obtain new OAuth 2.0 tokens and store them between sessions. For this, you need to set the Devart.Data.SqlShimConnectionStringBuilder.TokenServer parameter that determines the location to store the refresh tokens.
The refresh token can be obtained automatically by logging into QuickBooks via QuickBooksConnection design-time editor or by creating a connection in Visual Studio Server Explorer. Alternatively you may use QuickBooks OAuth 2.0 Playground to obtain the initial refresh token.
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