CLI 参考 > 工作流和文档命令 > im deletereport
  
im deletereport
deletes a Windchill RV&S report
Synopsis
im deletereport [--[no]confirm=value] [--hostname=value] [--port=value] [--password=value] [--user=value] [(-?|--usage)] [(-F value|--selectionFile=value)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=value] [--forceConfirm=[yes|no]] [username:]report
Description
im deletereport deletes a Windchill RV&S report.
You can only delete reports that you created unless you are an administrator and the report has been shared to you. If you are not authorized to delete the report, you are presented with an error message stating that you may not delete the selected report.
Options
This command takes the universal options available to im commands, as well as some general options. See the options reference page for descriptions.
--[no]confirm=value
specifies whether to be prompted to confirm the deletion of the report. By default, you are prompted to confirm the deletion of the report.
[username:]report
specifies the name of the user the report belongs to. If you are deleting a report you created, you do not have to specify the user name, but you must specify the report name. Only the creator of a report or an administrator can delete a report.
* 
Windchill RV&S initially assumes that text before the colon (:) is a user name and text after it is a report name. If Windchill RV&S fails to find a matching user name and report name, it searches for a report name matching the exact text. For example, if you type jhoyt:CosmosDefects, Windchill RV&S searches for the CosmosDefects report created by jhoyt. If Windchill RV&S cannot find the report and/or user, it searches for the jhoyt:CosmosDefects report created by any user.
See Also
Commands: im createreport, im editreport, im copyreport, im viewreport, im runreport, im reports
Miscellaneous: options