Show / Hide Table of Contents

Class RemoteConnectionInformation

Represents a remote connection.

Inheritance
System.Object
ConnectionInformationBase
RemoteConnectionInformation
Inherited Members
ConnectionInformationBase.ToString()
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class RemoteConnectionInformation : ConnectionInformationBase
Remarks

Remote connections are used when connecting to a remote instance of SQL Race server. Example:

  • SqlRaceServer:RemoteIpAddress=192.168.2.1#Port=5099#LocalConnectionString=

Constructors

RemoteConnectionInformation(String, Int32, String)

Initialises a new instance of the RemoteConnectionInformation class.

Declaration
public RemoteConnectionInformation(string remoteIpAddress, int portNumber, string localConnectionString)
Parameters
Type Name Description
System.String remoteIpAddress

The remote ip address.

System.Int32 portNumber

The port number.

System.String localConnectionString

The connection string for the local database where the session is stored

Properties

ConnectionString

Not used for a RemoteConnectionInformation.

Declaration
public override string ConnectionString { get; }
Property Value
Type Description
System.String
Overrides
ConnectionInformationBase.ConnectionString

PortNumber

Gets the port number.

Declaration
public override int PortNumber { get; }
Property Value
Type Description
System.Int32
Overrides
ConnectionInformationBase.PortNumber

RemoteIpAddress

Gets the remote ip address.

Declaration
public override string RemoteIpAddress { get; }
Property Value
Type Description
System.String
Overrides
ConnectionInformationBase.RemoteIpAddress

Methods

GetContextKey()

For a RemoteConnectionInformation, returns the remote IP address and port number.

Declaration
public override string GetContextKey()
Returns
Type Description
System.String

Remote IP address and port number

Overrides
ConnectionInformationBase.GetContextKey()
Back to top Generated by DocFX