Propriété RecoveryModel
Gets or set the database recovery model.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<DisplayNameKeyAttribute("Database_RecoveryModelName")> _
<DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")> _
Property RecoveryModel As RecoveryModel
Get
Set
'Utilisation
Dim instance As IDatabaseMaintenanceFacet
Dim value As RecoveryModel
value = instance.RecoveryModel
instance.RecoveryModel = value
[DisplayNameKeyAttribute("Database_RecoveryModelName")]
[DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")]
RecoveryModel RecoveryModel { get; set; }
[DisplayNameKeyAttribute(L"Database_RecoveryModelName")]
[DisplayDescriptionKeyAttribute(L"Database_RecoveryModelDesc")]
property RecoveryModel RecoveryModel {
RecoveryModel get ();
void set (RecoveryModel value);
}
[<DisplayNameKeyAttribute("Database_RecoveryModelName")>]
[<DisplayDescriptionKeyAttribute("Database_RecoveryModelDesc")>]
abstract RecoveryModel : RecoveryModel with get, set
function get RecoveryModel () : RecoveryModel
function set RecoveryModel (value : RecoveryModel)
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo. . :: . .RecoveryModel
RecoveryModel
Notes
Valid values are:
BulkLogged
Full
Simple
Voir aussi