Share via


IErrorCollectionService Interface

Captures 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)

Syntax

'Declaration
Public Interface IErrorCollectionService
'Usage
Dim instance As IErrorCollectionService
public interface IErrorCollectionService
public interface class IErrorCollectionService
type IErrorCollectionService =  interface end
public interface IErrorCollectionService

The IErrorCollectionService type exposes the following members.

Methods

  Name Description
Public method ClearErrors Clears the error cache.
Public method GetErrorMessage() Returns a String that contains a combined error message, which includes the error message, the component, and the subcomponent, for each error.
Public method GetErrorMessage(Boolean) Returns a String that contains the error message.
Public method GetErrors Retrieves the list of errors and stores them in an ICollection.
Public method HasErrors Indicates whether the collection service has errors.

Top

See Also

Reference

Microsoft.SqlServer.Dts.Design Namespace