SqlRestore 方法
Performs a restore operation.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)
语法
声明
Public Sub SqlRestore ( _
srv As Server _
)
用法
Dim instance As Restore
Dim srv As Server
instance.SqlRestore(srv)
public void SqlRestore(
Server srv
)
public:
void SqlRestore(
Server^ srv
)
member SqlRestore :
srv:Server -> unit
public function SqlRestore(
srv : Server
)
参数
- srv
类型:Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object that represents the instance of SQL Server that is targeted by the restore operation.