Home > Configuration > Basic > disableservice

disableservice

Use this method to disables a service.

Syntax



Parameters

name

Name of the service.
This is mandatory parameter.

delay

Time, in seconds, allocated to the NetScaler for a graceful shutdown of the service. During this period, new requests are sent to the service only for clients who already have persistent sessions on the appliance. Requests from new clients are load balanced among other available services. After the delay time expires, no requests are sent to the service, and the service is marked as unavailable (OUT OF SERVICE).

graceful

Shut down gracefully, not accepting any new connections, and disabling the service when all of its connections are closed.
Default value = NO.

Return Value

Returns simpleResult

See Also