public static void DeleteWorkspace(string workspaceName) { Console.WriteLine($"Deleting Workspace : [{workspaceName}]"); DirectoryServices.DeleteDirectoryEntry("OrganizationalUnit", workspaceName); DirectoryEntry de = DirectoryServices.GetDirectoryEntry(workspaceName, "OrganizationalUnit"); Assert.That(de, Is.Null); }