Reference Library
SetDoNotDisturb Method (deviceId, doNotDisturbOn, userState)
NamespacesAvaya.ApplicationEnablement.DMCCIThirdPartyCallControllerSetDoNotDisturb(String, Boolean, Object)
Send a Set Do Not Disturb request to the server.
Declaration Syntax
C#Visual BasicVisual C++
int SetDoNotDisturb(
	string deviceId,
	bool doNotDisturbOn,
	Object userState
)
Function SetDoNotDisturb ( _
	deviceId As String, _
	doNotDisturbOn As Boolean, _
	userState As Object _
) As Integer
int SetDoNotDisturb(
	String^ deviceId, 
	bool doNotDisturbOn, 
	Object^ userState
)
Parameters
deviceId (String)
The third party Device Id which represents the station that you want to set the Do Not Disturb state on.
doNotDisturbOn (Boolean)
True if you want to activate the Do Not Disturb feature.
userState (Object)
The Invoke ID of the XML message sent to the server.
Return Value
The Invoke ID of the XML message sent to the server.

Assembly: ServiceProvider (Module: ServiceProvider)