共用方式為


SqlSmoObject.ThrowIfBelowVersion90(String) Method

Definition

Throws an exception if the ServerVersion major version for this object is below 9.0 (SQL 2005)

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

Parameters

exceptionMessage
String

Applies to