DeleteContent
Description
Deletes content for a table in design mode.
Signature
string[] DeleteContent(string key, int tableId, string[] idsToDelete)
Parameters
Name | Data Type | Description |
---|---|---|
key |
string required |
The authentication key |
tableId |
int required |
The table id to delete content for. |
idsToDelete |
string[ ] required |
The ids of the rows to delete. |
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();
//***************************************************
//
// DeleteContent
//
//***************************************************
// Delete content for specified ids in design mode
int tableId = 3;
string[] idsToDelete = new string[] { "client1", "client2", "client3", "client4" };
designer.DeleteContent(key, tableId, idsToDelete);