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