SqlDatabase.DefinitionStages.WithSourceDatabaseId.withSourceDatabase 方法

定义

重载

withSourceDatabase(SqlDatabase sourceDatabase)

Sets the resource if of source database for the SQL Database. Collation, Edition, and MaxSizeBytes must remain the same while the link is active. Values specified for these parameters will be ignored.

withSourceDatabase(String sourceDatabaseId)

Sets the resource if of source database for the SQL Database. Collation, Edition, and MaxSizeBytes must remain the same while the link is active. Values specified for these parameters will be ignored.

withSourceDatabase(SqlDatabase sourceDatabase)

Sets the resource if of source database for the SQL Database. Collation, Edition, and MaxSizeBytes must remain the same while the link is active. Values specified for these parameters will be ignored.

public WithCreateMode withSourceDatabase(SqlDatabase sourceDatabase)

参数

sourceDatabase
SqlDatabase

instance of the source database

返回

The next stage of the definition.

withSourceDatabase(String sourceDatabaseId)

Sets the resource if of source database for the SQL Database. Collation, Edition, and MaxSizeBytes must remain the same while the link is active. Values specified for these parameters will be ignored.

public WithCreateMode withSourceDatabase(String sourceDatabaseId)

参数

sourceDatabaseId
String

id of the source database

返回

The next stage of the definition.

适用于