Logs the current agent off.

C# | Visual Basic | Visual C++ |
void LogOff()
Sub LogOff
void LogOff()

The method takes into account the following Agent properties:
- [!:AgentId] Mandatory.
- Place Mandatory.
- [!:Queue] Can be null.