DatabaseRestorePlanner 建構函式 (Server, String)
Initializes a new instance of the DatabaseRestorePlanner class with specified server and database name.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)
語法
'宣告
Public Sub New ( _
server As Server, _
databaseName As String _
)
'用途
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
)
參數
- server
型別:Microsoft.SqlServer.Management.Smo.Server
The server
- databaseName
型別:System.String
The name of the database.