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.
命名空間: 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 | Indicates whether the collection service has errors. |
上層
.gif)