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
SystemObject
  Neo4j.DriverServerAddress

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

The ServerAddress type exposes the following members.

Properties
  NameDescription
Public propertyHost
Gets the host name of the server address.
Public propertyPort
Gets the port number of the server address.
Top
Methods
  NameDescription
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 (Inherited from Object.)
Public methodToString
Print the content of the server address.
(Overrides ObjectToString.)
Top
See Also