TSqlModel.CheckVersionCompatibility Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates the model to determine whether it contains any elements that are not compatible with a target version of SQL Server or Azure SQL Database, and returns any errors or warnings.
public System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Dac.Model.DacModelError> CheckVersionCompatibility (Microsoft.SqlServer.Dac.Model.SqlServerVersion targetVersion, System.Threading.CancellationToken cancelToken);
member this.CheckVersionCompatibility : Microsoft.SqlServer.Dac.Model.SqlServerVersion * System.Threading.CancellationToken -> seq<Microsoft.SqlServer.Dac.Model.DacModelError>
Public Function CheckVersionCompatibility (targetVersion As SqlServerVersion, cancelToken As CancellationToken) As IEnumerable(Of DacModelError)
Parameters
- targetVersion
- SqlServerVersion
The target sql version of the export
- cancelToken
- CancellationToken
A token used for cancelling the model check.