Commands: How to get the primary database Url?

Url is a helper method that returns the primary database url.

Syntax

string Url { get; }
Return Value Description
string Gets the primary database Url

Example I

// http://localhost:8080/
string url = store.DatabaseCommands.ForSystemDatabase().Url;