Share via


DacCompilationUnit Constructor (String, Version, String)

Initializes a new instance of the DacCompilationUnit class with the specified information.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Sub New ( _
    typeName As String, _
    version As Version, _
    databaseCollation As String _
)
'Usage
Dim typeName As String
Dim version As Version
Dim databaseCollation As String

Dim instance As New DacCompilationUnit(typeName, _
    version, databaseCollation)
public DacCompilationUnit(
    string typeName,
    Version version,
    string databaseCollation
)
public:
DacCompilationUnit(
    String^ typeName, 
    Version^ version, 
    String^ databaseCollation
)
new : 
        typeName:string * 
        version:Version * 
        databaseCollation:string -> DacCompilationUnit
public function DacCompilationUnit(
    typeName : String, 
    version : Version, 
    databaseCollation : String
)

Parameters

  • version
    Type: System.Version
    A Version value specifying the version of the DAC type.
  • databaseCollation
    Type: System.String
    A String value specifying the collation of the database to be used in compiling the Transact-SQL scripts into the DAC type.

See Also

Reference

DacCompilationUnit Class

DacCompilationUnit Overload

Microsoft.SqlServer.Management.Dac Namespace