Classe NativeSqlConnectionException
The exception that is thrown when an error is raised by an ODBC driver or an OLEDB provider during bulk copy operations.
Hierarquia de herança
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Replication. . :: . .ReplicationAgentException
Microsoft.SqlServer.Replication..::..NativeSqlConnectionException
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class NativeSqlConnectionException _
Inherits ReplicationAgentException
'Uso
Dim instance As NativeSqlConnectionException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class NativeSqlConnectionException : ReplicationAgentException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class NativeSqlConnectionException : public ReplicationAgentException
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type NativeSqlConnectionException =
class
inherit ReplicationAgentException
end
public class NativeSqlConnectionException extends ReplicationAgentException
O tipo NativeSqlConnectionException expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
NativeSqlConnectionException() () () () | Creates a new instance of the NativeSqlConnectionException class. | |
NativeSqlConnectionException(String) | Creates a new instance of the NativeSqlConnectionException class with a specified error message. | |
NativeSqlConnectionException(SerializationInfo, StreamingContext) | Creates a new instance of the NativeSqlConnectionException class with serialized data. | |
NativeSqlConnectionException(String, Exception) | Creates a new instance of the NativeSqlConnectionException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Data | (Herdado de Exception.) | |
ErrorSource | The source of the error. | |
HelpLink | (Herdado de Exception.) | |
HResult | (Herdado de Exception.) | |
InnerException | (Herdado de Exception.) | |
Message | (Herdado de Exception.) | |
MessageCode | Gets the error code of the underlying error. (Herdado de ReplicationAgentException.) | |
Source | (Herdado de Exception.) | |
SqlState | Indicates the Microsoft SQL Server SQL state for the error. | |
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 | Sets the specified SerializationInfo with information about the exception. (Substitui ReplicationAgentException. . :: . .GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Herdado de Exception.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Exception.) |
Início
Comentários
ODBC and OLEDB are used when bulk copying data to generate the initial snapshot.
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.