Set the VenturaConfig.DefaultConnector property to an AdoConnector or HttpConnector.




See topic Connectors (ADO.NET and HTTP)

Examples

The default connector is set to an ADO.NET connector

string connection_string = @"Server=.\SQLEXPRESS;Initial Catalog=PlayGround;Connection Timeout=30;Integrated Security=True;MultipleActiveResultSets=True";


VenturaConfig.DefaultConnector = new AdoConnector(SqlClientFactory.Instance, connection_string);


The default connector is set to a HTTP connector

VenturaConfig.DefaultConnector = new HttpConnector("DefaultConnector", "https://venturatools.com:51437/Ventura.FSPRO");