Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
The UnknownPropertyException class represents the exception that is raised when an SMO operation encounters an unknown property.
Иерархия наследования
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.UnknownPropertyException
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public NotInheritable Class UnknownPropertyException _
Inherits SmoException
'Применение
Dim instance As UnknownPropertyException
[SerializableAttribute]
public sealed class UnknownPropertyException : SmoException
[SerializableAttribute]
public ref class UnknownPropertyException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type UnknownPropertyException =
class
inherit SmoException
end
public final class UnknownPropertyException extends SmoException
Тип UnknownPropertyException обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
UnknownPropertyException() | Initializes a new instance of the UnknownPropertyException class. |
![]() |
UnknownPropertyException(String) | Initializes a new instance of the UnknownPropertyException class for the specified property. |
![]() |
UnknownPropertyException(String, Exception) | Initializes a new instance of the UnknownPropertyException class with the specified message and inner exception. |
В начало
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
CurrentVersion | Gets the version of the instance of SQL Server. |
![]() |
Data | (Производный от Exception.) |
![]() |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (Производный от SmoException.) |
![]() |
HResult | (Производный от Exception.) |
![]() |
InnerException | (Производный от Exception.) |
![]() |
Message | Gets the message that describes the current exception. (Переопределяет Exception.Message.) |
![]() |
PropertyName | Gets the name of the property that is unknown. |
![]() |
SmoExceptionType | Gets the type of SMO exception. (Переопределяет SmoException.SmoExceptionType.) |
![]() |
Source | (Производный от Exception.) |
![]() |
StackTrace | (Производный от Exception.) |
![]() |
SupportedVersions | Gets the supported versions for the exception. |
![]() |
TargetSite | (Производный от Exception.) |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
GetBaseException | (Производный от Exception.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetObjectData | Sets the SerializationInfo with information about the exception. (Переопределяет Exception.GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType | (Производный от Exception.) |
![]() |
SetHelpContext | Sets the Help context value for the referenced exception. (Производный от SmoException.) |
![]() |
ToString | (Производный от Exception.) |
В начало
Замечания
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.
Примеры
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)