Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
The CollectionNotAvailableException class is an exception that is raised when an attempt is made to retrieve a collection that is not available.
Иерархия наследования
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public NotInheritable Class CollectionNotAvailableException _
Inherits SmoException
'Применение
Dim instance As CollectionNotAvailableException
[SerializableAttribute]
public sealed class CollectionNotAvailableException : SmoException
[SerializableAttribute]
public ref class CollectionNotAvailableException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type CollectionNotAvailableException =
class
inherit SmoException
end
public final class CollectionNotAvailableException extends SmoException
Тип CollectionNotAvailableException обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
CollectionNotAvailableException() | Initializes a new instance of the CollectionNotAvailableException class. |
![]() |
CollectionNotAvailableException(String) | Initializes a new instance of the CollectionNotAvailableException class with the specified message text. |
![]() |
CollectionNotAvailableException(String, ServerVersion) | Initializes a new instance of the CollectionNotAvailableException class with the specified collection and the version of the instance of Microsoft SQL Server. |
![]() |
CollectionNotAvailableException(String, Exception) | Initializes a new instance of the CollectionNotAvailableException class with the specified message text and inner exception. |
В начало
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
CollectionName | Gets the name of the collection that is not available. |
![]() |
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.) |
![]() |
ServerVersion | Gets the version of the instance of Microsoft SQL Server that raised the exception. |
![]() |
SmoExceptionType | Gets the type of exception. (Переопределяет SmoException.SmoExceptionType.) |
![]() |
Source | (Производный от Exception.) |
![]() |
StackTrace | (Производный от Exception.) |
![]() |
TargetSite | (Производный от Exception.) |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
GetBaseException | (Производный от Exception.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetObjectData | Override based on the virtual GetObjectData method. . (Переопределяет 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)