Clase NativeSqlConnectionException
The exception that is thrown when an error is raised by an ODBC driver or an OLEDB provider during bulk copy operations.
Jerarquía de herencia
System.Object
System.Exception
Microsoft.SqlServer.Replication.ReplicationAgentException
Microsoft.SqlServer.Replication.NativeSqlConnectionException
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)
Sintaxis
'Declaración
<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
El tipo NativeSqlConnectionException expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
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. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
Data | (Se hereda de Exception.) | |
ErrorSource | The source of the error. | |
HelpLink | (Se hereda de Exception.) | |
HResult | (Se hereda de Exception.) | |
InnerException | (Se hereda de Exception.) | |
Message | (Se hereda de Exception.) | |
MessageCode | Gets the error code of the underlying error. (Se hereda de ReplicationAgentException.) | |
Source | (Se hereda de Exception.) | |
SqlState | Indicates the Microsoft SQL Server SQL state for the error. | |
StackTrace | (Se hereda de Exception.) | |
TargetSite | (Se hereda de Exception.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
Finalize | (Se hereda de Object.) | |
GetBaseException | (Se hereda de Exception.) | |
GetHashCode | (Se hereda de Object.) | |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (Invalida ReplicationAgentException.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Se hereda de Exception.) | |
MemberwiseClone | (Se hereda de Object.) | |
ToString | (Se hereda de Exception.) |
Arriba
Eventos
Nombre | Descripción | |
---|---|---|
SerializeObjectState | (Se hereda de Exception.) |
Arriba
Comentarios
ODBC and OLEDB are used when bulk copying data to generate the initial snapshot.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.