Click or drag to resize

ServerAddress Class

A server address consists of Host and Port. This address specifies where the driver to find the server.
Inheritance Hierarchy

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.4
public sealed class ServerAddress : IEquatable<ServerAddress>

The ServerAddress type exposes the following members.

Public propertyHost
Gets the host name of the server address.
Public propertyPort
Gets the port number of the server address.
Public methodEquals(Object)
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ObjectEquals(Object).)
Public methodEquals(ServerAddress)
Returns a value indicating whether the value of this instance is equal to the value of the specified ServerAddress instance.
Public methodStatic memberFrom(Uri)
Create a server address from a Uri. Fields Host and Port will be used to create the server address.
Public methodStatic memberFrom(String, Int32)
Create a server address with host name and port number.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Print the content of the server address.
(Overrides ObjectToString.)
Extension Methods
See Also