NetworkedPlanet | TMCore Command Line Tools |
The tmdelete command can be used to remove a topic map from the TMCore system. Because this deletion cannot be reversed, by default the command will prompt you to confirm that you really want the deletion to be performed.
tmdelete
[/host:<string>
] [/database:<string>
] [/userid:<string>
] [/password:<string>
] [/force] [/verbose] {mapname
}
Table 3. tmdelete Parameter Summary
Parameter (Short Form) | Description |
---|---|
/host (/h) | Specifies the name or IP address of the database server that hosts the TMCore system database. Defaults to 'localhost'. |
/database (/d) | Specifies the name of the database catalog that contains the TMCore system tables. Defaults to 'topicmap'. |
/userid (/u) | Specifies the database user ID to use when connecting to the database. If this parameter is omitted, the connection will instead use the current Windows login for database authentication. |
/password (/p) | Specifies the password to use when connection to the database. This parameter is ignored if the
|
/force (/f) | If this command line option is specified, then the topic map will be deleted without a confirmation prompt. Use with caution! |
/verbose (/v) | Give more verbose error messages. |
mapname | The name of the topic map to be deleted |
tmdelete mymap
Deletes the topic map named 'mymap' from the TMCore server on the local machine using the default catalog 'topicmap'.
tmdelete /host:tmserver /database:test mymap
Operates in the same way as the first example, but connects to a remote database server and a non-default catalog.
tmdelete /userid:tmguy /password:ihearttms mymap
Operates in the same way as the first example, but uses a database account to authorise access to the TMCore system.
tmdelete /force mymap
Deletes the topic map named 'mymap' from the TMCore server on the local machine without prompting for confirmation.