Deleting a model through ScfUtils (Model Explorer)
ScfUtils provides a command line interface for performing Model Explorer functions. For a complete list of ScfUtils functions, click here Overview of command line interface for Model Explorer functions (Model Explorer)
Through ScfUtils, you can delete a version of a Model. Note that you cannot use this command to delete all versions of a Model in one operation.
If you have installed Modeler to the default locations, ScfUtils resides in the following location:
<<INSTALLDIR>>\Modeler\Exe\SCFUtils.exe
For information about deleting a Model through Model Explorer, click here Deleting a model
Syntax:
ScfUtils -deletemodel Enterprise \\SQL\<server>@<instance>\<database>\<model>\<version>"
Where:
<server> specifies the name of the server on which the Database resides. The case of the name must be correct.
<database> specifies the name of the Database that owns the Model you want to delete. The case of the name must be correct.
<model> specifies the name of the Model you want to delete. The case of the name must be correct.
<version> specifies the version of the Model you want to delete. If the Model has not been versioned, the version is 0.
Example:
ScfUtils -deletemodel Enterprise"\\SQL\MyServer@MODELER\MyDatabase\MyModel\0"
Was this helpful?