共用方式為


SqlSmoObject.ThrowIfBelowVersion100(String) Method

Definition

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

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

Parameters

exceptionMessage
String

Applies to