Поделиться через


Restore.Action Property

Gets or sets the type of restore to be performed.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Property Action As RestoreActionType
public RestoreActionType Action { get; set; }
public:
property RestoreActionType Action {
    RestoreActionType get ();
    void set (RestoreActionType value);
}
/** @property */
public RestoreActionType get_Action ()

/** @property */
public void set_Action (RestoreActionType value)
public function get Action () : RestoreActionType

public function set Action (value : RestoreActionType)

Значение свойства

A RestoreActionType object representing the type of restore to be performed.

Замечания

Microsoft 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.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Back Up Databases and Transaction Logs in Visual Basic .NET

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Restore Class
Restore Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

Backing Up and Restoring Databases and Transaction Logs
RESTORE (Transact-SQL)
Резервное копирование и восстановление баз данных в SQL Server