CLI 参考 > 配置管理命令 > si dropproject
  
si dropproject
drops (unregisters) a project from a Windchill RV&S Server
Synopsis
si dropproject [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] project...
Description
si dropproject unregisters a project from the Windchill RV&S Server. When a configuration management project has outlived its usefulness or just does not belong on the Windchill RV&S Server anymore, you can remove it. For example,
si dropproject --forceConfirm=yes c:/Aurora_Program/project.pj
Project paths are referenced using the repository location. This allows you to reference checkpoints in dropped configuration management projects. If a checkpoint is currently referenced and the corresponding project is later dropped, the checkpoint remains accessible as read-only. For example, you can continue to open the referenced checkpoint from an SI project field or create a build Sandbox from the checkpoint for auditing purposes.
Dropped projects can also be accessed as read-only from the si viewcps and si viewlocks commands until the project is purged or reclaimed by your administrator.
* 
If a project is dropped and any Sandboxes or variants are associated with it, those Sandboxes or variants no longer function.
Dropping a configuration management project unregisters it from the Windchill RV&S Server, but it does not delete the project. Dropped configuration management projects can be added back into Windchill RV&S
This works only on "top level" projects; to drop a subproject from its master project, use si drop
Options
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
project...
identifies a specific project location with a fully qualified server-relative path; use spaces to specify more than one.
Diagnostics
See the diagnostics reference page for possible exit status values.
Preferences
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si createproject, si createsubproject, si drop, si projects, si viewproject
Miscellaneous: ACL, diagnostics, options, preferences