Share via


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