ActiveDirectorySite.Delete Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.