你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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