DirectoryService.Delete Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Delete(int, bool)

Permanently deletes a Directory object from the repository.

public static Directory Delete(int id, bool sudo = false)

Parameters

id
int

Id of the directory to delete.

sudo
bool

true to perform action as super user, otherwise false.

Returns

Directory

The deleted directory.