共用方式為


Action 屬性

Gets or sets the type of restore to be performed.

命名空間:  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
A RestoreActionType object representing the type of restore to be performed.

備註

SQL Server can restore a database, one or more operating system files containing table or index data, or part of or all the transaction log of a database.