共用方式為


SqlSmoObject.ThrowIfBelowVersion140(String) Method

Definition

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

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

Parameters

exceptionMessage
String

Applies to