共用方式為


SqlSmoObject.ThrowIfBelowVersion140Prop(String) Method

Definition

Throws an exception with text saying the specified property is not supported if the ServerVersion major version for this object is below 14.0 (SQL 2017)

protected void ThrowIfBelowVersion140Prop (string propertyName);
member this.ThrowIfBelowVersion140Prop : string -> unit
Protected Sub ThrowIfBelowVersion140Prop (propertyName As String)

Parameters

propertyName
String

Applies to