onCanCloseWorkspace

Read-Write Property of type VARIANT

JavaScript

var Action = ScriptApplication.onCanCloseWorkspace;
ScriptApplication.onCanCloseWorkspace = Action;

Visual Basic Script

Action = ScriptApplication.onCanCloseWorkspace
ScriptApplication.onCanCloseWorkspace = Action

C++

VARIANT Action;
HRESULT hr = ScriptApplication.get_onCanCloseWorkspace(&Action);
hr = ScriptApplication.put_onCanCloseWorkspace(Action);