SqlSmoObject.ThrowIfBelowVersion90(String) 方法

定义

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

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

参数

exceptionMessage
String

适用于