RestorePlan 构造函数 (Server, String)
Initializes a new instance of the RestorePlan 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 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
)
参数
- server
类型:Microsoft.SqlServer.Management.Smo.Server
The server.
- databaseName
类型:System.String
The name of the database.