Classe NativeSqlConnectionException
The exception that is thrown when an error is raised by an ODBC driver or an OLEDB provider during bulk copy operations.
Hiérarchie d'héritage
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Replication. . :: . .ReplicationAgentException
Microsoft.SqlServer.Replication..::..NativeSqlConnectionException
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class NativeSqlConnectionException _
Inherits ReplicationAgentException
'Utilisation
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
Le type NativeSqlConnectionException expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
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. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Data | (hérité de Exception.) | |
ErrorSource | The source of the error. | |
HelpLink | (hérité de Exception.) | |
HResult | (hérité de Exception.) | |
InnerException | (hérité de Exception.) | |
Message | (hérité de Exception.) | |
MessageCode | Gets the error code of the underlying error. (hérité de ReplicationAgentException.) | |
Source | (hérité de Exception.) | |
SqlState | Indicates the Microsoft SQL Server SQL state for the error. | |
StackTrace | (hérité de Exception.) | |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetBaseException | (hérité de Exception.) | |
GetHashCode | (hérité de Object.) | |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (remplace ReplicationAgentException. . :: . .GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (hérité de Exception.) | |
MemberwiseClone | (hérité de Object.) | |
ToString | (hérité de Exception.) |
Haut de la page
Notes
ODBC and OLEDB are used when bulk copying data to generate the initial snapshot.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.