Deletes an infoRouter domain.

Syntax

Visual Basic (declaration)
Public Function DeleteDomain( _ 
ByVal AuthenticationTicket as String, _ ByVal DomainName as String) as XmlNode

C# (declaration)
public XmlNode DeleteDomain( 
string AuthenticationTicket, string DomainName)

Parameters

AuthenticationTicket
    string infoRouter ticket
DomainName
    string Name of the infoRouter domain to be deleted

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the domain has been deleted successfully.
if success attribute is "false", the error attribute indicates the encountered error.

Remarks

The caller must be the system administrator.
The deleted folders and the documents of the domain are moved to the recyclebin.
Local users, local groups, domian managers and other vital information become unrecoverable after a domain is deleted.

See Also