Share via


AzureSqlDatabaseBackupCommunicator.RestoreDatabase Method

Definition

Overloads

RestoreDatabase(String, String, String, Database)
RestoreDatabase(String, String, String, Database, Dictionary<String,List<String>>)

Restore a given Sql Azure Database

RestoreDatabase(String, String, String, Database)

public Microsoft.Azure.Management.Sql.Models.Database RestoreDatabase (string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.Models.Database model);
member this.RestoreDatabase : string * string * string * Microsoft.Azure.Management.Sql.Models.Database -> Microsoft.Azure.Management.Sql.Models.Database
Public Function RestoreDatabase (resourceGroupName As String, serverName As String, databaseName As String, model As Database) As Database

Parameters

resourceGroupName
String
serverName
String
databaseName
String
model
Database

Returns

Applies to

RestoreDatabase(String, String, String, Database, Dictionary<String,List<String>>)

Restore a given Sql Azure Database

public Microsoft.Azure.Management.Sql.Models.Database RestoreDatabase (string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.Models.Database model, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default);
member this.RestoreDatabase : string * string * string * Microsoft.Azure.Management.Sql.Models.Database * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> -> Microsoft.Azure.Management.Sql.Models.Database
Public Function RestoreDatabase (resourceGroupName As String, serverName As String, databaseName As String, model As Database, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing) As Database

Parameters

resourceGroupName
String

The name of the resource group

serverName
String

The name of the Azure SQL Server

databaseName
String

The name of the Azure SQL database

model
Database

Sql Database Model with required parameters

customHeaders
Dictionary<String,List<String>>

Custom headers

Returns

Restored database object

Applies to