共用方式為


IReplicationLink Interface

Definition

An immutable client-side representation of an Azure SQL Replication link.

public interface IReplicationLink : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Sql.Fluent.Models.ReplicationLinkInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasResourceGroup, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Sql.Fluent.IReplicationLink>, Microsoft.Azure.Management.Sql.Fluent.IReplicationLinkBeta
type IReplicationLink = interface
    interface IRefreshable<IReplicationLink>
    interface IHasInner<ReplicationLinkInner>
    interface IHasResourceGroup
    interface IHasName
    interface IHasId
    interface IReplicationLinkBeta
    interface IBeta
Public Interface IReplicationLink
Implements IBeta, IHasId, IHasInner(Of ReplicationLinkInner), IHasName, IHasResourceGroup, IRefreshable(Of IReplicationLink), IReplicationLinkBeta
Implements

Properties

DatabaseName

Gets name of the SQL Database to which this replication belongs.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
IsTerminationAllowed

Gets the legacy value indicating whether termination is allowed (currently always returns true).

(Inherited from IReplicationLinkBeta)
Location

Gets the location of the server that contains this replication link.

(Inherited from IReplicationLinkBeta)
Name

Gets the name of the resource

(Inherited from IHasName)
PartnerDatabase

Gets the name of the partner Azure SQL Database.

PartnerLocation

Gets the Azure Region of the partner Azure SQL Database.

PartnerRole

Gets the role of the partner SQL Database in the replication link.

PartnerServer

Gets the name of the Azure SQL Server hosting the partner Azure SQL Database.

PercentComplete

Gets the percentage of the seeding completed for the replication link.

ReplicationMode

Gets the replication mode of this replication link.

(Inherited from IReplicationLinkBeta)
ReplicationState

Gets the replication state for the replication link.

ResourceGroupName (Inherited from IHasResourceGroup)
Role

Gets the role of the SQL Database in the replication link.

SqlServerName

Gets name of the SQL Server to which this replication belongs.

StartTime

Gets start time for the replication link (ISO8601 format).

Methods

Delete()

Deletes the replication link.

Failover()

Fails over the Azure SQL Database Replication Link.

FailoverAsync(CancellationToken)

Fails over the Azure SQL Database Replication Link.

ForceFailoverAllowDataLoss()

Forces fail over the Azure SQL Database Replication Link which may result in data loss.

ForceFailoverAllowDataLossAsync(CancellationToken)

Forces fail over the Azure SQL Database Replication Link which may result in data loss.

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)

Applies to