Класс NativeSqlConnectionException
The exception that is thrown when an error is raised by an ODBC driver or an OLEDB provider during bulk copy operations.
Иерархия наследования
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Replication. . :: . .ReplicationAgentException
Microsoft.SqlServer.Replication..::..NativeSqlConnectionException
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Replication (в Microsoft.SqlServer.Replication.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class NativeSqlConnectionException _
Inherits ReplicationAgentException
'Применение
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
Тип NativeSqlConnectionException обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
![]() |
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. |
В начало
Свойства
Имя | Описание | |
---|---|---|
![]() |
Data | (Производный от Exception.) |
![]() |
ErrorSource | The source of the error. |
![]() |
HelpLink | (Производный от Exception.) |
![]() |
HResult | (Производный от Exception.) |
![]() |
InnerException | (Производный от Exception.) |
![]() |
Message | (Производный от Exception.) |
![]() |
MessageCode | Gets the error code of the underlying error. (Производный от ReplicationAgentException.) |
![]() |
Source | (Производный от Exception.) |
![]() |
SqlState | Indicates the Microsoft SQL Server SQL state for the error. |
![]() |
StackTrace | (Производный от Exception.) |
![]() |
TargetSite | (Производный от Exception.) |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetBaseException | (Производный от Exception.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (Переопределяет ReplicationAgentException. . :: . .GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType | (Производный от Exception.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | (Производный от Exception.) |
В начало
Замечания
ODBC and OLEDB are used when bulk copying data to generate the initial snapshot.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.