Toggle maintenance mode

Namespace: SynergyClientAPI.Utilities
Assembly: SynergyClientAPI (in SynergyClientAPI.dll)

Public Shared Function ToggleMaintenanceMode( _ 
ByVal mode As Boolean, _ 
Optional ByVal waiter As IASyncWait = null _ 
) As OperationResponse
This language is not supported or no code example is available.
public static OperationResponse ToggleMaintenanceMode( 
bool mode
IASyncWait waiter = null 
)
This language is not supported or no code example is available.
public:  
static OperationResponse^ ToggleMaintenanceMode( 
bool mode
IASyncWait^ waiter 
)
This language is not supported or no code example is available.
public static function ToggleMaintenanceMode( 
mode : boolean
waiter : IASyncWait 
) : OperationResponse;
This language is not supported or no code example is available.

Parameters

mode
Type: bool

the mode to set

waiter
Type: IASyncWait

an optional waiter if you want to wait for it to complete

Return Value

Type: OperationResponse

the response when queueing up the toggle event

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1