The XDB Server does not allow you to take a location offline while it is in use. You can use the DISABLE LOGIN command to prevent new users from logging on to the server. If you need to take the location offline immediately, you can force active users off the location using the XDB Server Monitor.
This command can be embedded in a host language or executed interactively.
Any of the following:
SET LOCATION location-name {OFFLINE | ONLINE}
location-name | Identifies the location that you want to place online or offline. |