IWithDatabase.WithExistingDatabase Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.