共用方式為


DatabaseBackupSetting Class

Definition

Database backup settings.

public class DatabaseBackupSetting
type DatabaseBackupSetting = class
Public Class DatabaseBackupSetting
Inheritance
DatabaseBackupSetting

Constructors

DatabaseBackupSetting()

Initializes a new instance of the DatabaseBackupSetting class.

DatabaseBackupSetting(DatabaseType, String, String, String)

Initializes a new instance of the DatabaseBackupSetting class.

Properties

ConnectionString

Gets or sets 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.

ConnectionStringName

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

DatabaseType

Gets or sets database type (e.g. SqlAzure / MySql). Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql'

Name

Methods

Validate()

Validate the object.

Applies to