Class AzureSqlServerFailoverGroup
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an Azure SQL server failover group.
public class AzureSqlServerFailoverGroup : GlobalSerializableClassicBase, IComparable<AzureSqlServerFailoverGroup>
- Inheritance
-
AzureSqlServerFailoverGroup
- Implements
Constructors
AzureSqlServerFailoverGroup()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.AzureSqlServerFailoverGroup class.
public AzureSqlServerFailoverGroup()
Properties
DatabaseIdentifiers
Gets or sets the identifiers of the databases in the failover group.
public SerializableStringCollection DatabaseIdentifiers { get; set; }
Property Value
- SerializableStringCollection
DatabaseNames
Gets or sets the names of the databases in the failover group.
public SerializableStringCollection DatabaseNames { get; set; }
Property Value
- SerializableStringCollection
GracePeriod
Gets or sets the grace period in hours.
public int GracePeriod { get; set; }
Property Value
Name
Gets or sets the name of the failover group.
public string Name { 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 in which the partner resides.
public string PartnerResourceGroupName { get; set; }
Property Value
PartnerServerName
Gets or sets the name of the partner server.
public string PartnerServerName { get; set; }
Property Value
ReadWriteFailoverPolicy
Gets or sets the read/write failover policy.
public AzureSqlServerFailoverGroupReadWriteFailoverPolicy ReadWriteFailoverPolicy { get; set; }
Property Value
ReadWriteFailoverPolicyString
Gets the read/write failover policy.
public string ReadWriteFailoverPolicyString { get; set; }
Property Value
ReplicationRole
Gets or sets the replication role of the server.
public AzureSqlServerFailoverGroupReplicationRole ReplicationRole { get; set; }
Property Value
ReplicationRoleString
Gets the replication role of the server.
public string ReplicationRoleString { get; set; }
Property Value
Methods
CompareTo(AzureSqlServerFailoverGroup)
Compares two CENTREL.XIA.Configuration.Types.AzureSqlServerFailoverGroup objects to allow sorting alphabetically by name.
public int CompareTo(AzureSqlServerFailoverGroup other)
Parameters
other
AzureSqlServerFailoverGroupThe CENTREL.XIA.Configuration.Types.AzureSqlServerFailoverGroup to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.AzureSqlServerFailoverGroup objects.