SqlSmoObject.ThrowIfAboveVersion100(String) 方法

定义

如果此对象的 ServerVersion 主版本高于 10.0(SQL 2008),则引发异常

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

参数

exceptionMessage
String

适用于