Click or drag to resize

ConfigBuilderWithMaxConnectionLifetime Method

Specify the maximum connection life time. The connection that has been created for longer than specified time will not be reused but closed.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.2.0
public ConfigBuilder WithMaxConnectionLifetime(
	TimeSpan timeSpan


Type: SystemTimeSpan
The max timespan that a connection can be reused after has been created for.

Return Value

Type: ConfigBuilder
An ConfigBuilder instance for further configuration options.
See Also