BackupRestoreBase.Checksum Property
Gets or sets a Boolean property value that determines whether a checksum value is calculated during backup or restore operations.
Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntaxe
'Déclaration
Public Property Checksum As Boolean
public bool Checksum { get; set; }
public:
property bool Checksum {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_Checksum ()
/** @property */
public void set_Checksum (boolean value)
public function get Checksum () : boolean
public function set Checksum (value : boolean)
Valeur de propriété
A Boolean value that specifies whether the checksum value is calculated. If True, the checksum value is calculated. If False (default), the checksum value is not calculated.
Notes
You can use the Checksum property to compute the checksum value during backup and restore operations. This helps to increase the reliability of backup media.
If the Checksum property is set to False, the ContinueAfterError property will be ignored.
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.
Exemple
How to: Back Up Databases and Transaction Logs in Visual Basic .NET
Sécurité des threads
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
BackupRestoreBase Class
BackupRestoreBase Members
Microsoft.SqlServer.Management.Smo Namespace
Autres ressources
CHECKSUM (Transact-SQL)
RESTORE (Transact-SQL)
BACKUP (Transact-SQL)
Sauvegarde et restauration de bases de données dans SQL Server