共用方式為


UnsupportedEngineTypeException 建構函式 (String, Exception)

Initializes a new instance of the UnsupportedEngineTypeException class with the specified message and inner exception.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'用途
Dim message As String 
Dim innerException As Exception 

Dim instance As New UnsupportedEngineTypeException(message, _
    innerException)
public UnsupportedEngineTypeException(
    string message,
    Exception innerException
)
public:
UnsupportedEngineTypeException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> UnsupportedEngineTypeException
public function UnsupportedEngineTypeException(
    message : String, 
    innerException : Exception
)

參數

  • innerException
    型別:System.Exception
    An Exception system object value that specifies the inner exception for the Unsupported Feature exception.

範例

處理 SMO 例外狀況

請參閱

參考

UnsupportedEngineTypeException 類別

UnsupportedEngineTypeException 多載

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

處理 SMO 例外狀況