Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Backup Methods

The Backup type exposes the following members.

  Name Description
Public method Abort Terminates a running backup or restore operation. (Inherited from BackupRestoreBase.)
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Script Returns a String containing the Transact-SQL statement that can be used to execute the referenced backup.
Public method SetMediaPassword(SecureString) Obsolete. Sets the password for a media set. (Inherited from BackupRestoreBase.)
Public method SetMediaPassword(String) Obsolete. Sets the password for a media set. (Inherited from BackupRestoreBase.)
Public method SetPassword(SecureString) Sets the password for a backup set. (Inherited from BackupRestoreBase.)
Public method SetPassword(String) Sets the password for a backup set. (Inherited from BackupRestoreBase.)
Public method SqlBackup Performs the database backup operation as specified by the properties of the Backup object used.
Public method SqlBackupAsync Performs the database backup operation asynchronously as specified by the properties of the Backup object used.
Public method ToString (Inherited from Object.)
Public method Wait Waits for the current backup or restore operation to complete before moving on to the next process. (Inherited from BackupRestoreBase.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.