You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 5.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

How to release a data subscription?

Because just a single client can keep the subscription open the API exposes a method that allows to release a subscription by forcing a connected client to drop:

void Release(long id, string database = null);
id long Subscription identifier.
database string Name of database to create a data subscription. If null, default database configured in DocumentStore will be used.