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