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

页首