SqlSmoObject.ThrowIfBelowVersion120(String) 方法

定义

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

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

参数

exceptionMessage
String

适用于