Propriété DatabaseOptions.RecoveryModel
Gets or sets the recovery model for the database.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property RecoveryModel As RecoveryModel
Get
Set
'Utilisation
Dim instance As DatabaseOptions
Dim value As RecoveryModel
value = instance.RecoveryModel
instance.RecoveryModel = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public RecoveryModel RecoveryModel { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property RecoveryModel RecoveryModel {
RecoveryModel get ();
void set (RecoveryModel value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member RecoveryModel : RecoveryModel with get, set
function get RecoveryModel () : RecoveryModel
function set RecoveryModel (value : RecoveryModel)
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.RecoveryModel
A RecoveryModel object value that specifies the recovery model that is currently in operation on the database.
Exemples
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo