Partager via


Action propriété

Gets or sets the type of restore to be performed.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (dans Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Property Action As RestoreActionType
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .RestoreActionType
A RestoreActionType object representing the type of restore to be performed.

Notes

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.