语言

DacExportOptions.TargetEngineVersion 属性

定义

指定目标引擎版本的预期。 在导出期间使用此选项来定义允许的引擎版本,以验证数据库的功能是否与该引擎版本的功能匹配。

public Microsoft.SqlServer.Dac.EngineVersion TargetEngineVersion { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "TargetEngineVersion")]
public Microsoft.SqlServer.Dac.EngineVersion TargetEngineVersion { get; set; }
member this.TargetEngineVersion : Microsoft.SqlServer.Dac.EngineVersion with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "TargetEngineVersion")>]
member this.TargetEngineVersion : Microsoft.SqlServer.Dac.EngineVersion with get, set
Public Property TargetEngineVersion As EngineVersion

属性值

最新版本的 Azure 包含对其他功能的支持。 如果找到DefaultV11目标数据库以包含任何需要较新版本的对象,则导出操作将失败。

此选项的默认值为 Latest,这意味着验证将确保仅当找到目标数据库以包含最新引擎版本不支持的任何对象时,导出操作才会失败。

属性

适用于