Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

close() - Close Management Console session

Function:

BcAdminMain.close()

Closes the Management Console session and, depending on the entered parameter, saves the as yet unsaved changes.

Parameters:

save_all (boolean)

True

All the changes should be saved.

False

All the changes should be rejected (default).

Return:

None

Note:

  • The close() call must be issued at the end of the function calls to the Management Console in order to make it possible to conduct other Management Console sessions. (end of serialization).

  • All Java objects of type BcObject that have been generated in the current MC-CLI session become invalid when close() is called and can no longer be used (e.g. as parameters). You will have to regenerate these objects in a new MC-CLI session if they are required.

Example:

...
import BcAdminMain
...
BcAdminMain.close(True)
...