> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionIso11783ILtimDeactivateServer

[Open topic with navigation](../../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/ISO11783/ISOInteractionLayer/Functions/CAPLfunctionIso11783ILtimDeactivateServer.md)

# Iso11783IL\_TIMDeactivateServer

[CAPL Functions](../../../CAPLfunctions.md) » [ISO11783](../../CAPLfunctionsISO11783Overview.md) » [ISO11783 Interaction Layer](../CAPLfunctionsISOILOverview.md) » Iso11783IL\_TIMDeactivateServer

**Valid for**: CANoe DE • CANoe4SW DE

## Function Syntax

* `long Iso11783IL_TIMDeactivateServer(); // form 1`
* `long Iso11783IL_TIMDeactivateServer(dword options); // form 2`
* `long Iso11783IL_TIMDeactivateServer(dbNode server); // form 3`
* `long Iso11783IL_TIMDeactivateServer(dbNode server, dword options); // form 4`

## Description

Deactivates the TIM server.

For a graceful shutdown, the TIM server gracefully releases all TIM functions being in automation. Then it sends three times in a row the Heartbeat counter value **Graceful shutdown**. And at the end, it stops sending any messages (including **TIM\_ServerStatus\_Msg**).

For a non-graceful shutdown, the TIM server stops sending any message at once, including **TIM\_ServerStatus\_Msg**.

## Parameters

* **options**: Additional options.
  * **Graceful shutdown**: `01h` - Server is gracefully shutdown

* **server**: TIM server node.

## Return Values

* **0**: Property has been set successfully
* **\< 0**: An error has occurred, see [error codes](../../../CAPLfunctionsISOj1939ErrorCodes.md)

## Example

—
