Share via


IErrorCollectionService.GetErrors Method

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

Namespace:  Microsoft.SqlServer.Dts.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

Syntax

'Declaration
Function GetErrors As ICollection(Of IComponentErrorInfo)
'Usage
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>

Return Value

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