NativeSqlConnectionException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The exception that is thrown when an error is raised by an ODBC driver or an OLEDB provider during bulk copy operations.
public ref class NativeSqlConnectionException : Microsoft::SqlServer::Replication::ReplicationAgentException
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public class NativeSqlConnectionException : Microsoft.SqlServer.Replication.ReplicationAgentException
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type NativeSqlConnectionException = class
inherit ReplicationAgentException
Public Class NativeSqlConnectionException
Inherits ReplicationAgentException
- Inheritance
- Attributes
Remarks
ODBC and OLEDB are used when bulk copying data to generate the initial snapshot.
Constructors
NativeSqlConnectionException() |
Creates a new instance of the NativeSqlConnectionException class. |
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. |
NativeSqlConnectionException(String) |
Creates a new instance of the NativeSqlConnectionException class with a specified error message. |
Properties
ErrorSource |
The source of the error. |
MessageCode |
Gets the error code of the underlying error. (Inherited from ReplicationAgentException) |
SqlState |
Indicates the Microsoft SQL Server SQL state for the error. |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Sets the specified SerializationInfo with information about the exception. |