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