Open(Boolean) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Connects to the shared memory database.
public new static void Open(
bool attachImpliesMember
)
public:
new static void Open(
bool attachImpliesMember
)
Parameters
- attachImpliesMember
- Set it to true if the process, which attaches to the RealTime database (RTDB) shared memory segment, should be considered a member of the RealTime service. This is true by default. When the RealTime service is shut down, all processes that are members of the service will be terminated.
This is typically required to ensure that no processes will keep the shared memory segment locked after shutdown of RealTime. If a process attaches to the shared memory segment and is not killed when RealTime shuts down, then RealTime will not be capable of starting up again until the process releases the shared memory. If set to false, it is the caller's responsibility to detach from the shared memory using Close when the service is shut down.
This should be false only if your process will check in to a service that is dependent on the RealTime service. When the RealTime service is shutdown, all dependent services will shutdown as well.
| Exception | Description |
|---|---|
| OASySDNA.RealTime.HighPerformanceSetDB.RTDBException | The RealTime database cannot be opened or accessed |