Interfaccia 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.

Spazio dei nomi  Microsoft.SqlServer.Dts.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

Sintassi

'Dichiarazione
Public Interface IErrorCollectionService
'Utilizzo
Dim instance As IErrorCollectionService
public interface IErrorCollectionService
public interface class IErrorCollectionService
type IErrorCollectionService =  interface end
public interface IErrorCollectionService

Nel tipo IErrorCollectionService sono esposti i membri seguenti.

Metodi

  Nome Descrizione
Metodo pubblico ClearErrors Clears the error cache.
Metodo pubblico GetErrorMessage() () () () Returns a String that contains a combined error message, which includes the error message, the component, and the subcomponent, for each error.
Metodo pubblico GetErrorMessage(Boolean) Returns a String that contains the error message.
Metodo pubblico GetErrors Retrieves the list of errors and stores them in an ICollection.
Metodo pubblico HasErrors

In alto