Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IReplicationLink 接口

定义

Azure SQL复制链接的不可变客户端表示形式。

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
实现

属性

DatabaseName

获取此复制所属SQL 数据库的名称。

Id

获取资源 ID 字符串

(继承自 IHasId)
Inner

Azure SQL复制链接的不可变客户端表示形式。

(继承自 IHasInner<T>)
IsTerminationAllowed

获取旧值,该值指示是否允许终止, (当前始终返回 true) 。

(继承自 IReplicationLinkBeta)
Location

获取包含此复制链接的服务器的位置。

(继承自 IReplicationLinkBeta)
Name

获取资源的名称

(继承自 IHasName)
PartnerDatabase

获取数据库Azure SQL伙伴的名称。

PartnerLocation

获取合作伙伴Azure SQL数据库的 Azure 区域。

PartnerRole

获取复制链接中合作伙伴SQL 数据库的角色。

PartnerServer

获取托管合作伙伴Azure SQL数据库的Azure SQL服务器的名称。

PercentComplete

获取复制链接已完成种子设定的百分比。

ReplicationMode

获取此复制链接的复制模式。

(继承自 IReplicationLinkBeta)
ReplicationState

获取复制链接的复制状态。

ResourceGroupName

Azure SQL复制链接的不可变客户端表示形式。

(继承自 IHasResourceGroup)
Role

获取复制链接中SQL 数据库的角色。

SqlServerName

获取此复制所属SQL Server的名称。

StartTime

获取复制链接的开始时间 (ISO8601 格式) 。

方法

Delete()

删除复制链接。

Failover()

故障转移Azure SQL数据库复制链接。

FailoverAsync(CancellationToken)

故障转移Azure SQL数据库复制链接。

ForceFailoverAllowDataLoss()

强制故障转移Azure SQL数据库复制链接,这可能会导致数据丢失。

ForceFailoverAllowDataLossAsync(CancellationToken)

强制故障转移Azure SQL数据库复制链接,这可能会导致数据丢失。

Refresh()

刷新资源以与 Azure 同步。

(继承自 IRefreshable<T>)
RefreshAsync(CancellationToken)

刷新资源以与 Azure 同步。

(继承自 IRefreshable<T>)

适用于