TSqlModel Constructor (SqlServerVersion, TSqlModelOptions)
Initializes a new instance of the TSqlModel class.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Syntax
'Declaration
Public Sub New ( _
modelTargetVersion As SqlServerVersion, _
modelCreationOptions As TSqlModelOptions _
)
'Usage
Dim modelTargetVersion As SqlServerVersion
Dim modelCreationOptions As TSqlModelOptions
Dim instance As New TSqlModel(modelTargetVersion, _
modelCreationOptions)
public TSqlModel(
SqlServerVersion modelTargetVersion,
TSqlModelOptions modelCreationOptions
)
public:
TSqlModel(
SqlServerVersion modelTargetVersion,
TSqlModelOptions^ modelCreationOptions
)
new :
modelTargetVersion:SqlServerVersion *
modelCreationOptions:TSqlModelOptions -> TSqlModel
public function TSqlModel(
modelTargetVersion : SqlServerVersion,
modelCreationOptions : TSqlModelOptions
)
Parameters
- modelTargetVersion
Type: Microsoft.SqlServer.Dac.Model.SqlServerVersion
The version of SQL Server to target.
- modelCreationOptions
Type: Microsoft.SqlServer.Dac.Model.TSqlModelOptions
Options defining model properties, including the collation and how to store the model (in memory or file backed).