ICtiAgentStateManager.SetUnavailable(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the agent state for the ID of the current agent to unavailable.
public:
bool SetUnavailable(System::String ^ reasonCode);
public bool SetUnavailable (string reasonCode);
abstract member SetUnavailable : string -> bool
Public Function SetUnavailable (reasonCode As String) As Boolean
Parameters
- reasonCode
- String
Specifies the reason code for unavailable. Can be empty.
Returns
True
if the state is successfully set, otherwise false
.