共用方式為


SqlSmoObject.ThrowIfBelowVersion120(String) Method

Definition

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

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

Parameters

exceptionMessage
String

Applies to