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.