Udostępnij za pośrednictwem


DatabaseBackupSetting Constructors

Definition

Overloads

DatabaseBackupSetting()

Initializes a new instance of the DatabaseBackupSetting class.

DatabaseBackupSetting(DatabaseType, 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(DatabaseType, String, String, String)

Initializes a new instance of the DatabaseBackupSetting class.

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

Parameters

databaseType
DatabaseType

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