共用方式為


IErrorCollectionService.GetErrors 方法

Retrieves the list of errors and stores them in an ICollection.

命名空間:  Microsoft.SqlServer.Dts.Design
組件:  Microsoft.SqlServer.Dts.Design (在 Microsoft.SqlServer.Dts.Design.dll 中)

語法

'宣告
Function GetErrors As ICollection(Of IComponentErrorInfo)
'用途
Dim instance As IErrorCollectionService 
Dim returnValue As ICollection(Of IComponentErrorInfo)

returnValue = instance.GetErrors()
ICollection<IComponentErrorInfo> GetErrors()
ICollection<IComponentErrorInfo^>^ GetErrors()
abstract GetErrors : unit -> ICollection<IComponentErrorInfo> 
function GetErrors() : ICollection<IComponentErrorInfo>

傳回值

型別:System.Collections.Generic.ICollection<IComponentErrorInfo>
An ICollection that contains the errors.

請參閱

參考

IErrorCollectionService 介面

Microsoft.SqlServer.Dts.Design 命名空間