共用方式為


SqlSmoObject.ThrowIfAboveVersion100(String) Method

Definition

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

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

Parameters

exceptionMessage
String

Applies to