DatabaseRestorePlanner Constructor (Server, String)
Initializes a new instance of the DatabaseRestorePlanner class with specified server and database name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Sub New ( _
server As Server, _
databaseName As String _
)
'Usage
Dim server As Server
Dim databaseName As String
Dim instance As New DatabaseRestorePlanner(server, _
databaseName)
public DatabaseRestorePlanner(
Server server,
string databaseName
)
public:
DatabaseRestorePlanner(
Server^ server,
String^ databaseName
)
new :
server:Server *
databaseName:string -> DatabaseRestorePlanner
public function DatabaseRestorePlanner(
server : Server,
databaseName : String
)
Parameters
- server
Type: Microsoft.SqlServer.Management.Smo.Server
The server
- databaseName
Type: System.String
The name of the database.