Share via


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.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.