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

IWithSourceDatabaseId.WithSourceDatabase 方法

定义

重载

WithSourceDatabase(ISqlDatabase)

如果为SQL 数据库的源数据库,则设置资源。 链接处于活动状态时,排序规则、版本和 MaxSizeBytes 必须保持不变。 将忽略为这些参数指定的值。

WithSourceDatabase(String)

如果为SQL 数据库的源数据库,则设置资源。 链接处于活动状态时,排序规则、版本和 MaxSizeBytes 必须保持不变。 将忽略为这些参数指定的值。

WithSourceDatabase(ISqlDatabase)

如果为SQL 数据库的源数据库,则设置资源。 链接处于活动状态时,排序规则、版本和 MaxSizeBytes 必须保持不变。 将忽略为这些参数指定的值。

public Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseOperations.Definition.IWithCreateMode WithSourceDatabase (Microsoft.Azure.Management.Sql.Fluent.ISqlDatabase sourceDatabase);
abstract member WithSourceDatabase : Microsoft.Azure.Management.Sql.Fluent.ISqlDatabase -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseOperations.Definition.IWithCreateMode
Public Function WithSourceDatabase (sourceDatabase As ISqlDatabase) As IWithCreateMode

参数

sourceDatabase
ISqlDatabase

源数据库的实例。

返回

适用于

WithSourceDatabase(String)

如果为SQL 数据库的源数据库,则设置资源。 链接处于活动状态时,排序规则、版本和 MaxSizeBytes 必须保持不变。 将忽略为这些参数指定的值。

public Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseOperations.Definition.IWithCreateMode WithSourceDatabase (string sourceDatabaseId);
abstract member WithSourceDatabase : string -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseOperations.Definition.IWithCreateMode
Public Function WithSourceDatabase (sourceDatabaseId As String) As IWithCreateMode

参数

sourceDatabaseId
String

源数据库的 ID。

返回

适用于