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

SqlSyncGroupOperations.DefinitionStages.WithSqlServer Interface

public static interface SqlSyncGroupOperations.DefinitionStages.WithSqlServer

The first stage of the SQL Sync Group definition.

Method Summary

Modifier and Type Method and Description
abstract WithSyncDatabaseId withExistingSqlDatabase(SqlDatabase sqlDatabase)

Sets the parent SQL server for the new Sync Group.

abstract WithSyncGroupDatabase withExistingSqlServer(String resourceGroupName, String sqlServerName)

Sets the parent SQL server name and resource group it belongs to.

Method Details

withExistingSqlDatabase

public abstract SqlSyncGroupOperations.DefinitionStages.WithSyncDatabaseId withExistingSqlDatabase(SqlDatabase sqlDatabase)

Sets the parent SQL server for the new Sync Group.

Parameters:

sqlDatabase - the parent SQL database

Returns:

The next stage of the definition.

withExistingSqlServer

public abstract SqlSyncGroupOperations.DefinitionStages.WithSyncGroupDatabase withExistingSqlServer(String resourceGroupName, String sqlServerName)

Sets the parent SQL server name and resource group it belongs to.

Parameters:

resourceGroupName - the name of the resource group the parent SQL server
sqlServerName - the parent SQL server name

Returns:

The next stage of the definition.

Applies to