Partager via


DacCompilationUnit Constructor (, , )

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

'Déclaration
Public Sub New ( _
    typeName As String, _
    version As Version, _
    databaseCollation As String _
)
'Utilisation
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

  • typeName
    Type: String
    A String value specifying the name of the DAC type to compile.
  • version
    Type: Version
    A Version value specifying the version of the DAC type.
  • databaseCollation
    Type: 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