Connect to the Enterprise Server.
()
| 36 | |
| 37 | |
| 38 | def connect(): |
| 39 | """ |
| 40 | Connect to the Enterprise Server. |
| 41 | """ |
| 42 | if not is_initialized(): |
| 43 | initialize() |
| 44 | if not core.BNConnectEnterpriseServer(): |
| 45 | raise RuntimeError(last_error()) |
| 46 | |
| 47 | |
| 48 | def is_connected() -> bool: |
no test coverage detected