Construtor DatabaseRestorePlanner (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 (em Microsoft.SqlServer.SmoExtended.dll)
Sintaxe
'Declaração
Public Sub New ( _
server As Server, _
databaseName As String _
)
'Uso
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
)
Parâmetros
- server
Tipo: Microsoft.SqlServer.Management.Smo.Server
The server
- databaseName
Tipo: System.String
The name of the database.