Click or drag to resize

SessionConfigDatabase Property

The database that the constructed session will connect to.
Remarks
When used against servers supporting multi-databases, it is recommended that this value to be set explicitly either through WithDatabase(String) method. If not, then the session will connect to the default database configured on the server side. When used against servers that don't support multi-databases, this property should be left unset.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.2.0
Syntax
public string Database { get; }

Property Value

Type: String
Exceptions
ExceptionCondition
set_Database(String)throws ArgumentNullException when provided database name is null or an empty string.
See Also