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

IUpdate 接口

定义

SQL 同步组更新操作的模板,包含可修改的所有设置。

public interface IUpdate : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.Sql.Fluent.ISqlSyncGroup>, Microsoft.Azure.Management.Sql.Fluent.SqlSyncGroup.Update.IWithConflictResolutionPolicy, Microsoft.Azure.Management.Sql.Fluent.SqlSyncGroup.Update.IWithDatabasePassword, Microsoft.Azure.Management.Sql.Fluent.SqlSyncGroup.Update.IWithDatabaseUserName, Microsoft.Azure.Management.Sql.Fluent.SqlSyncGroup.Update.IWithInterval, Microsoft.Azure.Management.Sql.Fluent.SqlSyncGroup.Update.IWithSchema, Microsoft.Azure.Management.Sql.Fluent.SqlSyncGroup.Update.IWithSyncDatabaseId
type IUpdate = interface
    interface IBeta
    interface IWithSyncDatabaseId
    interface IWithDatabaseUserName
    interface IWithDatabasePassword
    interface IWithConflictResolutionPolicy
    interface IWithInterval
    interface IWithSchema
    interface IAppliable<ISqlSyncGroup>
    interface IIndexable
Public Interface IUpdate
Implements IAppliable(Of ISqlSyncGroup), IBeta, IWithConflictResolutionPolicy, IWithDatabasePassword, IWithDatabaseUserName, IWithInterval, IWithSchema, IWithSyncDatabaseId
实现

属性

Key

SQL 同步组更新操作的模板,包含可修改的所有设置。

(继承自 IIndexable)

方法

Apply()

执行更新请求。

(继承自 IAppliable<T>)
ApplyAsync(CancellationToken, Boolean)

异步执行更新请求。

(继承自 IAppliable<T>)
WithConflictResolutionPolicyHubWins()

将冲突解决策略设置为“HubWin”。

(继承自 IWithConflictResolutionPolicy)
WithConflictResolutionPolicyMemberWins()

将冲突解决策略设置为“MemberWin”。

(继承自 IWithConflictResolutionPolicy)
WithDatabasePassword(String)

设置数据库登录密码。

(继承自 IWithDatabasePassword)
WithDatabaseUserName(String)

设置数据库用户名。

(继承自 IWithDatabaseUserName)
WithInterval(Int32)

设置同步频率。

(继承自 IWithInterval)
WithSchema(SyncGroupSchema)

设置架构。

(继承自 IWithSchema)
WithSyncDatabaseId(String)

设置同步数据库 ID。

(继承自 IWithSyncDatabaseId)

适用于