DeployedDac.RecoveryModel プロパティ

DAC データベースによって使用されている復旧モデルの種類を示す値を取得します。

名前空間:  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
どの復旧モデルが使用されるかを示す Int 値です。この値は、RecoveryModel 列挙体によって列挙される値のいずれかに対応します。Full = 1、BulkLogged = 2、Simple = 3 です。

関連項目

参照

DeployedDac クラス

Microsoft.SqlServer.Management.Utility 名前空間