Classe SqlServerManagementException
The SqlServerManagementException class is an exception that is raised when a SQL Server management error is encountered on the connection to the server.
Hierarquia de herança
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common..::..SqlServerManagementException
Mais...
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
Public Class SqlServerManagementException _
Inherits Exception
'Uso
Dim instance As SqlServerManagementException
public class SqlServerManagementException : Exception
public ref class SqlServerManagementException : public Exception
type SqlServerManagementException =
class
inherit Exception
end
public class SqlServerManagementException extends Exception
O tipo SqlServerManagementException expõe os membros a seguir.
Construtores
| Nome | Descrição | |
|---|---|---|
![]() |
SqlServerManagementException() () () () | Initializes a new instance of the SqlServerManagementException class. |
![]() |
SqlServerManagementException(String) | Initializes a new instance of the SqlServerManagementException class with the specified message text. |
![]() |
SqlServerManagementException(SerializationInfo, StreamingContext) | Initializes a new instance of the SqlServerManagementException class with the specified serialization information and streaming context. |
![]() |
SqlServerManagementException(String, Exception) | Initializes a new instance of the SqlServerManagementException class with the specified message text and inner exception. |
Início
Propriedades
| Nome | Descrição | |
|---|---|---|
![]() |
Data | (Herdado de Exception.) |
![]() |
HelpLink | (Herdado de Exception.) |
![]() |
HResult | (Herdado de Exception.) |
![]() |
InnerException | (Herdado de Exception.) |
![]() |
Message | (Herdado de Exception.) |
![]() ![]() |
ProductName | Gets the name of the product that caused the exception. |
![]() |
Source | (Herdado de Exception.) |
![]() |
StackTrace | (Herdado de Exception.) |
![]() |
TargetSite | (Herdado de Exception.) |
Início
Métodos
| Nome | Descrição | |
|---|---|---|
![]() |
Equals | (Herdado de Object.) |
![]() |
Finalize | (Herdado de Object.) |
![]() |
GetBaseException | (Herdado de Exception.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetObjectData | (Herdado de Exception.) |
![]() |
GetType | (Herdado de Exception.) |
![]() |
MemberwiseClone | (Herdado de Object.) |
![]() |
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.
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.
Hierarquia de herança
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common..::..SqlServerManagementException
Microsoft.SqlServer.Management.Common. . :: . .TransferException
Microsoft.SqlServer.Management.Dac. . :: . .DacException
Microsoft.SqlServer.Management.Dmf. . :: . .DmfException
Microsoft.SqlServer.Management.RegisteredServers. . :: . .RegisteredServerException
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .EnumeratorException
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcException
Microsoft.SqlServer.Management.Smo. . :: . .SmoException
Microsoft.SqlServer.Management.Trace. . :: . .SqlTraceException
Microsoft.SqlServer.Management.Utility. . :: . .UtilityException
.gif)
.gif)
.gif)
.gif)
.gif)