BackupRestoreBase クラス

定義

public class BackupRestoreBase
type BackupRestoreBase = class
Public Class BackupRestoreBase
継承
BackupRestoreBase
派生

コンストラクター

名前 説明
BackupRestoreBase()

基底クラスコンストラクター

フィールド

名前 説明
currentAsyncOperation
m_BackupAction
m_LogTruncation
m_RestoreAction

プロパティ

名前 説明
AsyncStatus

発生する可能性のあるエラーを含む、最新の非同期操作の状態。

BlockSize
BufferCount
Checksum
ContinueAfterError
CredentialName

Backup to Url で使用される資格情報の名前を取得または設定します。

Database
DatabaseFileGroups
DatabaseFiles
Devices

バックアップのターゲットとして使用されるデバイスの一覧

MaxTransferSize
MediaName
NoRecovery
NoRewind
Options
PercentCompleteNotification
Restart
RetryFailedQueries
UnloadTapeAfter

メソッド

名前 説明
Abort()

現在のアクション (ある場合) を中止します

CheckForHADRMaintPlan(Server, StringBuilder)

メンテナンス プランから呼び出された場合 HADR が有効になっているかどうかを確認する

ExecuteSql(Server, StringCollection)
ExecuteSqlAsync(Server, StringCollection)
ExecuteSqlWithResults(Server, String)
GetDevicesScript(StringBuilder, BackupDeviceList, ServerVersion)
IsBackupFileDeviceSupported(DatabaseEngineEdition)

接続されているサーバー エディションで BackupToFile がサポートされているかどうかを確認するヘルパー。 SQL Managed Instances では、ファイルへのバックアップはサポートされていません。

IsBackupUrlDeviceSupported(ServerVersion)

接続されているサーバー バージョンで BackupToUrl がサポートされているかどうかを確認するヘルパー

IsStringValid(String)
SetMediaPassword(SecureString)
SetMediaPassword(String)
SetPassword(SecureString)
SetPassword(String)
Wait()

現在の非同期アクションが完了するまで待機します。

イベント

名前 説明
Complete

Complete イベント

Information

情報イベント

NextMedia

NextMedia イベント

PercentComplete

PercentComplete イベント

適用対象