Open(Boolean) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Connect to the shared memory database
[Obsolete("Replace usages with --> IRealTimeDatabase.Open(Boolean) <-- [MARCH 2020]")]
public static void Open(
bool attachImpliesMember
)
[Obsolete("Replace usages with --> IRealTimeDatabase.Open(Boolean) <-- [MARCH 2020]")]
public:
static void Open(
bool attachImpliesMember
)
Parameters
- attachImpliesMember
- Set it to true if your process, which attaches to the RTDB shared memory segment, should be considered a member of the RealTime service. This is true by default. When the RealTime service is shutdown, 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's your responsibility to detach from the shared memory using Close() when the service is shutdown. This should be false only if your process will check in to a service which is dependant on RealTime service. When the RealTime service is shutdown, all dependant services will shutdown as well.