SqlSmoObject.ThrowIfBelowVersion140(String) 方法

定义

如果此对象的 ServerVersion 主版本低于 14.0(SQL 2017),则引发异常

protected void ThrowIfBelowVersion140(string exceptionMessage = default);
member this.ThrowIfBelowVersion140 : string -> unit
Protected Sub ThrowIfBelowVersion140 (Optional exceptionMessage As String = Nothing)

参数

exceptionMessage
String

适用于