次の方法で共有


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 から継承されています。)

先頭に戻る

イベント

  名前 説明
プロテクト イベント SerializeObjectState (Exception から継承されています。)

先頭に戻る

説明

ODBC and OLEDB are used when bulk copying data to generate the initial snapshot.

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.SqlServer.Replication 名前空間