Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
The SmoException class represents the exception that is raised when an error occurs during an SMO operation.
Иерархия наследования
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Подробнее...
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public Class SmoException _
Inherits SqlServerManagementException
'Применение
Dim instance As SmoException
[SerializableAttribute]
public class SmoException : SqlServerManagementException
[SerializableAttribute]
public ref class SmoException : public SqlServerManagementException
[<SerializableAttribute>]
type SmoException =
class
inherit SqlServerManagementException
end
public class SmoException extends SqlServerManagementException
Тип SmoException обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
SmoException() | Initializes a new instance of the SmoException class. |
![]() |
SmoException(String) | Initializes a new instance of the SmoException class with the specified message. |
![]() |
SmoException(SerializationInfo, StreamingContext) | Initializes a new instance of the SmoException class with the specified serialization information and streaming context. |
![]() |
SmoException(String, Exception) | Initializes a new instance of the SmoException class with the specified message and specified inner exception. |
В начало
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
Data | (Производный от Exception.) |
![]() |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (Переопределяет Exception.HelpLink.) |
![]() |
HResult | (Производный от Exception.) |
![]() |
InnerException | (Производный от Exception.) |
![]() |
Message | (Производный от Exception.) |
![]() ![]() |
ProdVer | Gets the product version of the instance of SQL Server that generated the SMO exception. |
![]() |
SmoExceptionType | Gets the type of SMO exception. |
![]() |
Source | (Производный от Exception.) |
![]() |
StackTrace | (Производный от Exception.) |
![]() |
TargetSite | (Производный от Exception.) |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetBaseException | (Производный от Exception.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetObjectData | Важный элемент безопасности. (Производный от Exception.) |
![]() |
GetType | (Производный от Exception.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
SetHelpContext | Sets the Help context value for the referenced exception. |
![]() |
ToString | (Производный от Exception.) |
В начало
События
| Имя | Описание | |
|---|---|---|
![]() |
SerializeObjectState | (Производный от Exception.) |
В начало
Замечания
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.
Примеры
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo
Иерархия наследования
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException
Microsoft.SqlServer.Management.Smo.FailedOperationException
Microsoft.SqlServer.Management.Smo.InternalSmoErrorException
Microsoft.SqlServer.Management.Smo.InvalidRestorePlanException
Microsoft.SqlServer.Management.Smo.InvalidScriptingOptionException
Microsoft.SqlServer.Management.Smo.InvalidSmoOperationException
Microsoft.SqlServer.Management.Smo.InvalidVersionSmoOperationException
Microsoft.SqlServer.Management.Smo.MissingObjectException
Microsoft.SqlServer.Management.Smo.PropertyCannotBeRetrievedException
Microsoft.SqlServer.Management.Smo.PropertyNotSetException
Microsoft.SqlServer.Management.Smo.PropertyReadOnlyException
Microsoft.SqlServer.Management.Smo.PropertyTypeMismatchException
Microsoft.SqlServer.Management.Smo.PropertyWriteException
Microsoft.SqlServer.Management.Smo.ScriptWriterException
Microsoft.SqlServer.Management.Smo.ServiceRequestException
Microsoft.SqlServer.Management.Smo.SfcDependencyException
Microsoft.SqlServer.Management.Smo.UnknownPropertyException
Microsoft.SqlServer.Management.Smo.UnsupportedEngineTypeException
Microsoft.SqlServer.Management.Smo.UnsupportedFeatureException
Microsoft.SqlServer.Management.Smo.UnsupportedObjectNameException
Microsoft.SqlServer.Management.Smo.UnsupportedVersionException
Microsoft.SqlServer.Management.Smo.WrongPropertyValueException
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)