Dovico.TrackITAPI.CReport.Delete(System.String,Dovico.TrackITAPI.CStateInfo)
Function Overview:
This method deletes all IDs specified in the xml conforming to http://www.dovico.com/schemas/id.xsd. Note that if a report folder is deleted, all reports and folders under the parent folder are also deleted.
Parameter List:
sXml - string - xml containing the IDs to be deleted
siState - CStateInfo - State information needed to carry out transaction
Returns
True if successful, false otherwise.
Example:
// initialize a string of xml containing Report IDs to delete
string sXml = "<ID:IDS xmlns:ID=\"http://www.dovico.com/schemas/id.xsd\">";
sXml += "<ID>32100</ID></ID:IDS>";
// call the method
wsapi.MethodInvoke("ReportDelete", sXml, stToken);