Freigeben über


IErrorCollectionService-Schnittstelle

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

Der IErrorCollectionService-Typ macht folgende Elemente verfügbar.

Methoden

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

Zum Anfang

Siehe auch

Verweis

Microsoft.SqlServer.Dts.Design-Namespace