共用方式為


DeployedDac.RecoveryModel 屬性

Gets a value indicating which type of recovery model is used by the DAC database.

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property RecoveryModel As Integer 
    Get
'用途
Dim instance As DeployedDac 
Dim value As Integer 

value = instance.RecoveryModel
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int RecoveryModel { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int RecoveryModel {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member RecoveryModel : int
function get RecoveryModel () : int

屬性值

型別:System.Int32
A Int value that indicates which recovery model will be used. This value corresponds to one of the values enumerated by the RecoveryModel enumeration. Full = 1, BulkLogged = 2, and Simple = 3.

請參閱

參考

DeployedDac 類別

Microsoft.SqlServer.Management.Utility 命名空間