Table of Contents

Class AzureSqlDatabaseReplicationLink

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

Represents an Azure SQL database replication link.

public class AzureSqlDatabaseReplicationLink : GlobalSerializableClassicBase, IComparable<AzureSqlDatabaseReplicationLink>
Inheritance
AzureSqlDatabaseReplicationLink
Implements

Constructors

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

public AzureSqlDatabaseReplicationLink()

Properties

Gets or sets the unique identifier of the link in GUID format – for example "99e40d4a-118e-4aa4-918c-884c3cb68839".

public Guid LinkIdentifier { get; set; }

Property Value

Guid

Gets or sets the partner location name.

public string PartnerLocation { get; set; }

Property Value

string

Gets or sets the display name of the location of the partner server.

public string PartnerLocationDisplayName { get; set; }

Property Value

string

Gets or sets the name of the resource group of the partner.

public string PartnerResourceGroupName { get; set; }

Property Value

string

Gets or sets the partner role.

public AzureSqlDatabaseReplicationRole PartnerRole { get; set; }

Property Value

AzureSqlDatabaseReplicationRole

Gets the partner role as a human readable string.

public string PartnerRoleString { get; set; }

Property Value

string

Gets or sets the name of the partner server.

public string PartnerServerName { get; set; }

Property Value

string

Gets or sets the role of the database.

public AzureSqlDatabaseReplicationRole Role { get; set; }

Property Value

AzureSqlDatabaseReplicationRole

Gets the role of the database as a human readable string.

public string RoleString { get; set; }

Property Value

string

Methods

Compares two CENTREL.XIA.Configuration.Types.AzureSqlDatabaseReplicationLink objects to allow sorting alphabetically by role and partner server name.

public int CompareTo(AzureSqlDatabaseReplicationLink other)

Parameters

other AzureSqlDatabaseReplicationLink

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

Returns

int

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

Returns the replication link as a human readable string - for example "West US 2 (corpsql01)".

public override string ToString()

Returns

string

The replication link as a human readable string - for example "West US 2 (corpsql01)".