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< (Of < ( <'IComponentErrorInfo> ) > ) >
An ICollection that contains the errors.