PublicationMonitor.EnumErrorRecords(Int32) PublicationMonitor.EnumErrorRecords(Int32) PublicationMonitor.EnumErrorRecords(Int32) Method

정의

동기화 세션 중에 발생한 특정 오류 ID와 연결된 오류의 정보를 반환합니다. Returns information about errors associated with a specified error ID that occurred during a synchronization session.

public:
 System::Data::DataSet ^ EnumErrorRecords(int errorId);
public System.Data.DataSet EnumErrorRecords (int errorId);
Public Function EnumErrorRecords (errorId As Integer) As DataSet
매개 변수
errorId
Int32 Int32 Int32

오류를 고유하게 식별하는 ID 값을 지정하는 Int32 값입니다. An Int32 value specifying the ID value that uniquely identifies the error.

반환

다음과 같은 열이 포함된 DataSet 개체입니다. A DataSet object that contains the following columns.

Column Data type Description
source_type_id Int32 Identifies the source of the error.
source_name String The name of the error source.
error_code String The error code.
error_text String The message text for the error.
(No column name) String Date and time that the error occurred.
error_type_id Int32 Type of error that occurred.
has_xact_seqno Boolean If the error has a corresponding transaction log sequence number.
xact_seqno Byte [] The starting transaction log sequence number of the failed execution batch.
command_id Int32 The command ID of the first command in the failed execution batch.
Column Data type Description
source_type_id Int32 Identifies the source of the error.
source_name String The name of the error source.
error_code String The error code.
error_text String The message text for the error.
(No column name) String Date and time that the error occurred.
error_type_id Int32 Type of error that occurred.
has_xact_seqno Boolean If the error has a corresponding transaction log sequence number.
xact_seqno Byte [] The starting transaction log sequence number of the failed execution batch.
command_id Int32 The command ID of the first command in the failed execution batch.

설명

모든 속성 변경 내용을 커밋 해야는 PublicationMonitor 이 개체의 속성은 되지 않은 경우 로드 이미 로드 되도록 할 수 있으므로이 메서드를 호출 하기 전에 개체입니다.You should commit any property changes to the PublicationMonitor object before calling this method because properties of this object may need to be loaded if they have not been loaded already.

EnumErrorRecords 메서드 db_owner 또는 replmonitor 배포 데이터베이스의 고정 데이터베이스 역할의 멤버만 호출할 수 있습니다.The EnumErrorRecords method can only be called by members of the db_owner or replmonitor fixed database roles on the distribution database.

적용 대상

추가 정보