Share via


ICtiAgentStateManager.SetUnavailable Method (String)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Sets the agent state for the ID of the current agent to unavailable.

Namespace:   Microsoft.Uii.Desktop.Cti.Core
Assembly:  Microsoft.Uii.Desktop.Cti.Core (in Microsoft.Uii.Desktop.Cti.Core.dll)

Syntax

bool SetUnavailable(
    string reasonCode
)
Function SetUnavailable (
    reasonCode As String
) As Boolean

Parameters

  • reasonCode
    Type: System.String

    Specifies the reason code for unavailable. Can be empty.

Return Value

Type: System.Boolean

Type: Boolean
True if the state is successfully set, otherwise false.

See Also

ICtiAgentStateManager Interface
Microsoft.Uii.Desktop.Cti.Core Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright