ActiveDirectorySite.Delete Method

Definition

Deletes the current site.

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

Exceptions

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