Dela via


DatabaseBackupSetting Constructors

Definition

Overloads

DatabaseBackupSetting()

Initializes a new instance of the DatabaseBackupSetting class.

DatabaseBackupSetting(String, String, String, String)

Initializes a new instance of the DatabaseBackupSetting class.

DatabaseBackupSetting()

Initializes a new instance of the DatabaseBackupSetting class.

public DatabaseBackupSetting ();
Public Sub New ()

Applies to

DatabaseBackupSetting(String, String, String, String)

Initializes a new instance of the DatabaseBackupSetting class.

public DatabaseBackupSetting (string databaseType, string name = default, string connectionStringName = default, string connectionString = default);
new Microsoft.Azure.Management.WebSites.Models.DatabaseBackupSetting : string * string * string * string -> Microsoft.Azure.Management.WebSites.Models.DatabaseBackupSetting
Public Sub New (databaseType As String, Optional name As String = Nothing, Optional connectionStringName As String = Nothing, Optional connectionString As String = Nothing)

Parameters

databaseType
String

Database type (e.g. SqlAzure / MySql). Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql'

name
String
connectionStringName
String

Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.

connectionString
String

Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.

Applies to