DatabaseDeploymentProperties Constructor
Initializes a new instance of the DatabaseDeploymentProperties class that has the specified connection and database name.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaration
Public Sub New ( _
srvConnection As ServerConnection, _
databaseName As String _
)
'Usage
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
)
Parameters
- srvConnection
Type: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection that specifies the connection to an instance of SQL Server.
- databaseName
Type: System.String
A String value that specifies the name of the database.