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
AzureSqlDatabaseReplicationLink()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.AzureSqlDatabaseReplicationLink class.
public AzureSqlDatabaseReplicationLink()
Properties
LinkIdentifier
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
PartnerLocation
Gets or sets the partner location name.
public string PartnerLocation { get; set; }
Property Value
PartnerLocationDisplayName
Gets or sets the display name of the location of the partner server.
public string PartnerLocationDisplayName { get; set; }
Property Value
PartnerResourceGroupName
Gets or sets the name of the resource group of the partner.
public string PartnerResourceGroupName { get; set; }
Property Value
PartnerRole
Gets or sets the partner role.
public AzureSqlDatabaseReplicationRole PartnerRole { get; set; }
Property Value
PartnerRoleString
Gets the partner role as a human readable string.
public string PartnerRoleString { get; set; }
Property Value
PartnerServerName
Gets or sets the name of the partner server.
public string PartnerServerName { get; set; }
Property Value
Role
Gets or sets the role of the database.
public AzureSqlDatabaseReplicationRole Role { get; set; }
Property Value
RoleString
Gets the role of the database as a human readable string.
public string RoleString { get; set; }
Property Value
Methods
CompareTo(AzureSqlDatabaseReplicationLink)
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
AzureSqlDatabaseReplicationLinkThe CENTREL.XIA.Configuration.Types.AzureSqlDatabaseReplicationLink to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.AzureSqlDatabaseReplicationLink objects.
ToString()
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)".