ActiveDirectorySite.Delete Method


Deletes the current site.

 void Delete();
public void Delete ();
member this.Delete : unit -> unit
Public Sub Delete ()


A call to the underlying directory service resulted in an error.

The target server is either busy or unavailable.

The ActiveDirectorySite object has not yet been saved in the Active Directory Domain Services store.

The object has been disposed.

The specified account does not have permission to perform this operation.

Applies to

See also