Share via


IDatabaseOperations Interface

 

Represents all the operations for operating on Azure SQL Databases. Contains operations to: Create, Retrieve, Update, and Delete databases, and also includes the ability to get the event logs for a database.

Namespace:   Microsoft.WindowsAzure.Management.Sql
Assembly:  Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

Syntax

public interface IDatabaseOperations
public interface class IDatabaseOperations
type IDatabaseOperations = interface end
Public Interface IDatabaseOperations

Methods

Name Description
CreateAsync(String, DatabaseCreateParameters, CancellationToken)

Creates a database in an Azure SQL Database Server.

DeleteAsync(String, String, CancellationToken)

Drops a database from an Azure SQL Database Server.

GetAsync(String, String, CancellationToken)

Returns information about an Azure SQL Database.

GetEventLogsAsync(String, String, DatabaseGetEventLogsParameters, CancellationToken)

Returns information about an Azure SQL Database event logs.

ListAsync(String, CancellationToken)

Returns a collection of Azure SQL Databases.

UpdateAsync(String, String, DatabaseUpdateParameters, CancellationToken)

Updates the properties of an Azure SQL Database.

Extension Methods

Name Description
Create(String, DatabaseCreateParameters)

Creates a database in an Azure SQL Database Server.(Defined by DatabaseOperationsExtensions.)

CreateAsync(String, DatabaseCreateParameters)

Creates a database in an Azure SQL Database Server.(Defined by DatabaseOperationsExtensions.)

Delete(String, String)

Drops a database from an Azure SQL Database Server.(Defined by DatabaseOperationsExtensions.)

DeleteAsync(String, String)

Drops a database from an Azure SQL Database Server.(Defined by DatabaseOperationsExtensions.)

Get(String, String)

Returns information about an Azure SQL Database.(Defined by DatabaseOperationsExtensions.)

GetAsync(String, String)

Returns information about an Azure SQL Database.(Defined by DatabaseOperationsExtensions.)

GetEventLogs(String, String, DatabaseGetEventLogsParameters)

Returns information about an Azure SQL Database event logs.(Defined by DatabaseOperationsExtensions.)

GetEventLogsAsync(String, String, DatabaseGetEventLogsParameters)

Returns information about an Azure SQL Database event logs.(Defined by DatabaseOperationsExtensions.)

List(String)

Returns a collection of Azure SQL Databases.(Defined by DatabaseOperationsExtensions.)

ListAsync(String)

Returns a collection of Azure SQL Databases.(Defined by DatabaseOperationsExtensions.)

Update(String, String, DatabaseUpdateParameters)

Updates the properties of an Azure SQL Database.(Defined by DatabaseOperationsExtensions.)

UpdateAsync(String, String, DatabaseUpdateParameters)

Updates the properties of an Azure SQL Database.(Defined by DatabaseOperationsExtensions.)

See Also

Microsoft.WindowsAzure.Management.Sql Namespace

Return to top