TSqlModel.CheckVersionCompatibility Method

Definition

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.

Returns

Applies to