Send a Set Do Not Disturb request to the server.

Declaration Syntax
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)