Поделиться через


Интерфейс IErrorCollectionService

Used to capture events from data flow components when you need to capture all the errors and warnings raised by the component instead of receiving only the last error or warning.

Пространство имен:  Microsoft.SqlServer.Dts.Design
Сборка:  Microsoft.SqlServer.Dts.Design (в Microsoft.SqlServer.Dts.Design.dll)

Синтаксис

'Декларация
Public Interface IErrorCollectionService
'Применение
Dim instance As IErrorCollectionService
public interface IErrorCollectionService
public interface class IErrorCollectionService
type IErrorCollectionService =  interface end
public interface IErrorCollectionService

Тип IErrorCollectionService обеспечивает доступ к следующим элементам.

Методы

  Имя Описание
Открытый метод ClearErrors Clears the error cache.
Открытый метод GetErrorMessage() () () () Returns a String that contains a combined error message, which includes the error message, the component, and the subcomponent, for each error.
Открытый метод GetErrorMessage(Boolean) Returns a String that contains the error message.
Открытый метод GetErrors Retrieves the list of errors and stores them in an ICollection.
Открытый метод HasErrors

В начало