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