Freigeben über


RecoveryModel-Eigenschaft

Ruft das Wiederherstellungsmodell für die Datenbank ab oder legt es fest.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property RecoveryModel As RecoveryModel
    Get
    Set
'Usage
Dim instance As Database
Dim value As RecoveryModel

value = instance.RecoveryModel

instance.RecoveryModel = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)]
public RecoveryModel RecoveryModel { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Deploy)]
public:
virtual property RecoveryModel RecoveryModel {
    RecoveryModel get () sealed;
    void set (RecoveryModel value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)>]
abstract RecoveryModel : RecoveryModel with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)>]
override RecoveryModel : RecoveryModel with get, set
final function get RecoveryModel () : RecoveryModel
final function set RecoveryModel (value : RecoveryModel)

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .RecoveryModel
Ein RecoveryModel-Objektwert, der das Wiederherstellungsmodell angibt, das für die Datenbank derzeit aktiv ist.

Implementiert

IDatabaseOptions. . :: . .RecoveryModel