Поделиться через


Класс UnsupportedEngineTypeException

The UnsupportedEngineTypeException class represents the exception raised when an SMO operation is attempted on a Database Engine type that does not support that operation. A Database Engine type is either an instance of the Компонент SQL Server Database Engine, or SQL Azure.

Иерархия наследования

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Smo.SmoException
        Microsoft.SqlServer.Management.Smo.UnsupportedEngineTypeException

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public NotInheritable Class UnsupportedEngineTypeException _
    Inherits SmoException
'Применение
Dim instance As UnsupportedEngineTypeException
[SerializableAttribute]
public sealed class UnsupportedEngineTypeException : SmoException
[SerializableAttribute]
public ref class UnsupportedEngineTypeException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type UnsupportedEngineTypeException =  
    class 
        inherit SmoException 
    end
public final class UnsupportedEngineTypeException extends SmoException

Тип UnsupportedEngineTypeException обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод UnsupportedEngineTypeException() Initializes a new, default instance of the UnsupportedEngineTypeException class.
Открытый метод UnsupportedEngineTypeException(String) Initializes a new instance of the UnsupportedEngineTypeException class with the specified message.
Открытый метод UnsupportedEngineTypeException(String, Exception) Initializes a new instance of the UnsupportedEngineTypeException class with the specified message and inner exception.

В начало

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Производный от SmoException.)
Открытое свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message (Производный от Exception.)
Открытое свойство SmoExceptionType Gets the type of SMO exception. (Переопределяет SmoException.SmoExceptionType.)
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData Важный элемент безопасности. (Производный от Exception.)
Открытый метод GetType (Производный от Exception.)
Защищенный метод SetHelpContext Sets the Help context value for the referenced exception. (Производный от SmoException.)
Открытый метод ToString (Производный от Exception.)

В начало

Замечания

Thread Safety

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Обработка исключений SMO