Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP SQL Anywhere, on-demand edition 1.0 SP 6 » Task syntax

DeleteDirectory task

Deletes a directory on the host.

Syntax 1 (SQL)
CALL DBCloud.DeleteDirectory ( directory=directory, host=host [, optional-parameters ] )
Syntax 2 (Cloud Command utility)
dbcloudcmd run DeleteDirectory directory host [ optional-parameters ]
Parameters
  • directory

    The directory to delete. (Required)

  • host

    The host that the directory is deleted from. Accepts a search query that identifies one host, for example a host name or ID. (Required)

  • only_if_empty

    If set to 1, the directory will only be deleted if it contains no files or subdirectories. The default is 0.

Required privileges

ManageSystemResources

Remarks

Deletes a directory from the specified host in the cloud.