IErrorCollectionService Interface

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.

Namespace:  Microsoft.SqlServer.Dts.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

public interface IErrorCollectionService

The IErrorCollectionService type exposes the following members.

Public methodClearErrorsClears the error cache.
Public methodGetErrorMessage()Returns a String that contains a combined error message, which includes the error message, the component, and the subcomponent, for each error.
Public methodGetErrorMessage(Boolean)Returns a String that contains the error message.
Public methodGetErrorsRetrieves the list of errors and stores them in an ICollection.
Public methodHasErrors

Community Additions