次の方法で共有


Action プロパティ

実行する復元の種類を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.SmoExtended (Microsoft.SqlServer.SmoExtended.dll)

構文

'宣言
Public Property Action As RestoreActionType
    Get
    Set
'使用
Dim instance As Restore
Dim value As RestoreActionType

value = instance.Action

instance.Action = value
public RestoreActionType Action { get; set; }
public:
property RestoreActionType Action {
    RestoreActionType get ();
    void set (RestoreActionType value);
}
member Action : RestoreActionType with get, set
function get Action () : RestoreActionType
function set Action (value : RestoreActionType)

プロパティ値

型: Microsoft.SqlServer.Management.Smo. . :: . .RestoreActionType
実行する復元の種類を表す RestoreActionType オブジェクトです。

説明

SQL Server では、1 つのデータベース、テーブルまたはインデックスのデータを含む 1 つ以上のオペレーティング システム ファイル、またはデータベースのトランザクション ログの一部またはすべてを復元できます。