You are currently browsing legacy 4.1 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

Operations: Server: How to Promote a Database Node?

This operation is used to promote a database node. After promotion, the node is considered as a Member.


public PromoteDatabaseNodeOperation(string databaseName, string node)
databaseName string Name of a database
node string Node tag to promote into database group Member


PromoteDatabaseNodeOperation promoteOperation = new PromoteDatabaseNodeOperation("Northwind", "C");