Share via


IWithSourceDatabaseId.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.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

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.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

Parameters

sourceDatabaseId
String

Id of the source database.

Returns

Applies to