DacDatabaseInformation 建構函式
Initializes a new instance of the DacDatabaseInformation class.
命名空間: Microsoft.SqlServer.Management.Dac
組件: Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)
語法
'宣告
Public Sub New ( _
server As Server, _
databaseName As String _
)
'用途
Dim server As Server
Dim databaseName As String
Dim instance As New DacDatabaseInformation(server, _
databaseName)
public DacDatabaseInformation(
Server server,
string databaseName
)
public:
DacDatabaseInformation(
Server^ server,
String^ databaseName
)
new :
server:Server *
databaseName:string -> DacDatabaseInformation
public function DacDatabaseInformation(
server : Server,
databaseName : String
)
參數
- server
型別:Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server value that specifies the instance of SQL Server that the database is on.
- databaseName
型別:System. . :: . .String
A String value that specifies the name of the database.