Classe NativeSqlConnectionException
The exception that is thrown when an error is raised by an ODBC driver or an OLEDB provider during bulk copy operations.
Gerarchia di ereditarietà
System.Object
System.Exception
Microsoft.SqlServer.Replication.ReplicationAgentException
Microsoft.SqlServer.Replication.NativeSqlConnectionException
Spazio dei nomi Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Sintassi
'Dichiarazione
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class NativeSqlConnectionException _
Inherits ReplicationAgentException
'Utilizzo
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
Nel tipo NativeSqlConnectionException sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
![]() |
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 alto
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
Data | Ereditato da Exception. |
![]() |
ErrorSource | The source of the error. |
![]() |
HelpLink | Ereditato da Exception. |
![]() |
HResult | Ereditato da Exception. |
![]() |
InnerException | Ereditato da Exception. |
![]() |
Message | Ereditato da Exception. |
![]() |
MessageCode | Gets the error code of the underlying error. Ereditato da ReplicationAgentException. |
![]() |
Source | Ereditato da Exception. |
![]() |
SqlState | Indicates the Microsoft SQL Server SQL state for the error. |
![]() |
StackTrace | Ereditato da Exception. |
![]() |
TargetSite | Ereditato da Exception. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Equals | Ereditato da Object. |
![]() |
Finalize | Ereditato da Object. |
![]() |
GetBaseException | Ereditato da Exception. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetObjectData | Sets the specified SerializationInfo with information about the exception. Esegue l'override di ReplicationAgentException.GetObjectData(SerializationInfo, StreamingContext). |
![]() |
GetType | Ereditato da Exception. |
![]() |
MemberwiseClone | Ereditato da Object. |
![]() |
ToString | Ereditato da Exception. |
In alto
Eventi
Nome | Descrizione | |
---|---|---|
![]() |
SerializeObjectState | Ereditato da Exception. |
In alto
Osservazioni
ODBC and OLEDB are used when bulk copying data to generate the initial snapshot.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.