Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
The CollectionNotAvailableException class is an exception that is raised when an attempt is made to retrieve a collection that is not available.
Hierarquia de herança
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public NotInheritable Class CollectionNotAvailableException _
Inherits SmoException
'Uso
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
O tipo CollectionNotAvailableException expõe os membros a seguir.
Construtores
| Nome | Descrição | |
|---|---|---|
![]() |
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. |
Início
Propriedades
| Nome | Descrição | |
|---|---|---|
![]() |
CollectionName | Gets the name of the collection that is not available. |
![]() |
Data | (Herdado de Exception.) |
![]() |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (Herdado de SmoException.) |
![]() |
HResult | (Herdado de Exception.) |
![]() |
InnerException | (Herdado de Exception.) |
![]() |
Message | Gets the message that describes the current exception. (Substitui Exception.Message.) |
![]() |
ServerVersion | Gets the version of the instance of Microsoft SQL Server that raised the exception. |
![]() |
SmoExceptionType | Gets the type of exception. (Substitui SmoException.SmoExceptionType.) |
![]() |
Source | (Herdado de Exception.) |
![]() |
StackTrace | (Herdado de Exception.) |
![]() |
TargetSite | (Herdado de Exception.) |
Início
Métodos
| Nome | Descrição | |
|---|---|---|
![]() |
Equals | (Herdado de Object.) |
![]() |
GetBaseException | (Herdado de Exception.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetObjectData | Override based on the virtual GetObjectData method. . (Substitui Exception.GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType | (Herdado de Exception.) |
![]() |
SetHelpContext | Sets the Help context value for the referenced exception. (Herdado de SmoException.) |
![]() |
ToString | (Herdado de Exception.) |
Início
Comentários
Thread Safety
Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.
Exemplos
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.
.gif)
.gif)
.gif)