CompileDB
Description
This method is obsolete. Please use LaunchSurvey instead. Compiles the database.
Signature
long CompileDB(string key, string projectId, DatabaseType databaseType, bool rebuild, bool deleteOld)
Parameters
Name | Data Type | Description |
---|---|---|
key |
string required |
The authentication key |
projectId |
string required |
The project ID |
databaseType |
DatabaseType required |
|
rebuild |
bool required |
Rebuild or Incremental |
deleteOld |
bool required |
Delete old database and create a new database |
Example
//***************************************************
//
// CompileDB
//
//***************************************************
// Create instance of the webservice
SurveyDeployerSoapClient surveyDeployer = new SurveyDeployerSoapClient();
// Generate a production database for a project
// Perform rebuild
// Delete old database first
surveyDeployer.CompileDB(key,projectID,DatabaseType.Production,true,true);