Reference Library
SetDoNotDisturb Method (deviceId, doNotDisturbOn, userState)
NamespacesAvaya.ApplicationEnablement.DMCCThirdPartyCallControllerSetDoNotDisturb(String, Boolean, Object)
Send a Set Do Not Disturb request to the server.
Declaration Syntax
C#Visual BasicVisual C++
public int SetDoNotDisturb(
	string deviceId,
	bool doNotDisturbOn,
	Object userState
)
Public Function SetDoNotDisturb ( _
	deviceId As String, _
	doNotDisturbOn As Boolean, _
	userState As Object _
) As Integer
public:
virtual int SetDoNotDisturb(
	String^ deviceId, 
	bool doNotDisturbOn, 
	Object^ userState
) sealed
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)