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)

C#
protected void ThrowIfBelowVersion140Prop(string propertyName);

Parameters

propertyName
String

Applies to

Toode Versioonid
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0