共用方式為


IWithSourceDatabaseId<ParentT>.WithSourceDatabase Method

Definition

Overloads

WithSourceDatabase(ISqlDatabase)

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)

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(ISqlDatabase)

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 Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithCreateMode<ParentT> WithSourceDatabase (Microsoft.Azure.Management.Sql.Fluent.ISqlDatabase sourceDatabase);
abstract member WithSourceDatabase : Microsoft.Azure.Management.Sql.Fluent.ISqlDatabase -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithCreateMode<'ParentT>
Public Function WithSourceDatabase (sourceDatabase As ISqlDatabase) As IWithCreateMode(Of ParentT)

Parameters

sourceDatabase
ISqlDatabase

Instance of the source database.

Returns

Applies to

WithSourceDatabase(String)

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 Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithCreateMode<ParentT> WithSourceDatabase (string sourceDatabaseId);
abstract member WithSourceDatabase : string -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithCreateMode<'ParentT>
Public Function WithSourceDatabase (sourceDatabaseId As String) As IWithCreateMode(Of ParentT)

Parameters

sourceDatabaseId
String

Id of the source database.

Returns

Applies to