SqlSmoObject.ThrowIfAboveVersion80(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若此物件的 ServerVersion 主要版本高於 8.0(SQL 2000),則會拋出例外。
protected void ThrowIfAboveVersion80(string exceptionMessage = default);
member this.ThrowIfAboveVersion80 : string -> unit
Protected Sub ThrowIfAboveVersion80 (Optional exceptionMessage As String = Nothing)
參數
- exceptionMessage
- String