Partager via


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