Restore.SqlRestore Method
Performs a restore operation.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Sub SqlRestore ( _
srv As Server _
)
'Usage
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
)
Parameters
- srv
Type: Microsoft.SqlServer.Management.Smo.Server
A Server object that represents the instance of SQL Server that is targeted by the restore operation.
See Also