DeleteAllContent
Description
Delete all content for a table in design mode.
Signature
string[] DeleteAllContent(string key, int tableId)
Parameters
Name | Data Type | Description |
---|---|---|
key |
string required |
The authentication key |
tableId |
int required |
The table id to delete content for. |
Response
Data Type | Description |
---|---|
string[ ] |
Row ids that where not deleted due to a constraint. If all rows where deleted successfully, an empty array is returned. |
Example
// Create instance of the webservice
var designer = new DatabaseDesignerSoapClient();
//***************************************************
//
// DeleteAllContent
//
//***************************************************
// Delete all content for specified table in design mode
int tableId = 3;
designer.DeleteAllContent(key, tableId);