Share via


IWithDatabase.WithExistingDatabase Method

Definition

Overloads

WithExistingDatabase(ISqlDatabase)

Adds the database in the SQL elastic pool.

WithExistingDatabase(String)

Adds an existing database in the SQL elastic pool.

WithExistingDatabase(ISqlDatabase)

Adds the database in the SQL elastic pool.

public Microsoft.Azure.Management.Sql.Fluent.SqlElasticPoolOperations.Definition.IWithCreate WithExistingDatabase (Microsoft.Azure.Management.Sql.Fluent.ISqlDatabase database);
abstract member WithExistingDatabase : Microsoft.Azure.Management.Sql.Fluent.ISqlDatabase -> Microsoft.Azure.Management.Sql.Fluent.SqlElasticPoolOperations.Definition.IWithCreate
Public Function WithExistingDatabase (database As ISqlDatabase) As IWithCreate

Parameters

database
ISqlDatabase

Database instance to be added in SQL elastic pool.

Returns

Applies to

WithExistingDatabase(String)

Adds an existing database in the SQL elastic pool.

public Microsoft.Azure.Management.Sql.Fluent.SqlElasticPoolOperations.Definition.IWithCreate WithExistingDatabase (string databaseName);
abstract member WithExistingDatabase : string -> Microsoft.Azure.Management.Sql.Fluent.SqlElasticPoolOperations.Definition.IWithCreate
Public Function WithExistingDatabase (databaseName As String) As IWithCreate

Parameters

databaseName
String

Name of the existing database to be added in the elastic pool.

Returns

Applies to