Table of Contents

Class SqlEndpoint

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a SQL endpoint.

public class SqlEndpoint : BaseTypeSection, IComparable<SqlEndpoint>
Inheritance
SqlEndpoint
Implements

Constructors

SqlEndpoint()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlEndpoint class.

public SqlEndpoint()

Properties

CollectionIndex

Gets the collection index used by the data comparer.

[Browsable(false)]
public string CollectionIndex { get; }

Property Value

string

EndpointState

Gets or sets the endpoint state.

public SqlEndpointState EndpointState { get; set; }

Property Value

SqlEndpointState

EndpointStateString

Gets the endpoint state as a human readable string.

public string EndpointStateString { get; set; }

Property Value

string

EndpointType

Gets or sets the endpoint type.

public SqlEndpointType EndpointType { get; set; }

Property Value

SqlEndpointType

EndpointTypeString

Gets the endpoint type.

public string EndpointTypeString { get; set; }

Property Value

string

IsSystemObject

Gets or sets whether the endpoint is a system object.

public BooleanOption IsSystemObject { get; set; }

Property Value

BooleanOption

Name

Gets or sets the name of the endpoint.

public string Name { get; set; }

Property Value

string

TcpListenerPort

Gets or sets the TCP listener port if configured.

public int TcpListenerPort { get; set; }

Property Value

int

Methods

Clone()

Returns a CENTREL.XIA.Configuration.Types.SqlEndpoint cloned from this object.

public SqlEndpoint Clone()

Returns

SqlEndpoint

A CENTREL.XIA.Configuration.Types.SqlEndpoint.

CompareTo(SqlEndpoint)

Compares two CENTREL.XIA.Configuration.Types.SqlEndpoint objects to allow sorting alphabetically by name.

public int CompareTo(SqlEndpoint other)

Parameters

other SqlEndpoint

The CENTREL.XIA.Configuration.Types.SqlEndpoint to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.SqlEndpoint objects.