Exago .NET API Documentation
DataConnStr Property
Example 
WebReports.Api.Data Namespace > DataSource Class : DataConnStr Property
The connection string used to connect to the Data Source. For more information, review the Connection String section of the Data Sources article.
Syntax
public System.string DataConnStr {get; set;}
Example
Create a New Data Source
//build the new object
DataSource myNewDataSource = new DataSource();
myNewDataSource.Name = "Donations";
myNewDataSource.DbType = Constants.DatabaseType.SqlServer;
myNewDataSource.Schema = "dbo";
myNewDataSource.DataConnStr = "Server=myDBServer;Database=myDB;Uid=DBUser;Pwd=DBPassword;";

//add the new data source to the API object
api.DataSources.Add(myNewDataSource);
See Also

Reference

DataSource Class
DataSource Members