DeleteObject
|
||
Revision history:
Introduced in QPR 8.1
Deletes one of more objects identified by FulllID's supplied to the objectIds parameter.
Synopsis:
void DeleteObject(string sessionId, string objectIds, string options)
Return Value:
None.
Parameters:
sessionId: String. ID of an authenticated session.
objectIds: String. A comma-separated list of FullID's defining the objects that should be deleted.
options: A comma-separated list of options. Available options depend on the product and the object type. In addition, the following option is specifically supported to DeleteObject:
• | Recursive: true | false. Defines whether also child objects should be deleted. By default this is false. This option is not supported in the SC namespace. |
Example Procedure:
ServiceClient client = new ServiceClient("WSHttpBinding_IService");
string sessionId = client.Authenticate("qpr", "demo");
client.DeleteObject(sessionId, "PO.0.56789", "");
client.LogOff(sessionId);
client.Close();