Share via


Méthode GetErrors

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

Espace de noms :  Microsoft.SqlServer.Dts.Design
Assembly :  Microsoft.SqlServer.Dts.Design (en Microsoft.SqlServer.Dts.Design.dll)

Syntaxe

'Déclaration
Function GetErrors As ICollection(Of IComponentErrorInfo)
'Utilisation
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>

Valeur de retour

Type : System.Collections.Generic. . :: . .ICollection< (Of < ( <'IComponentErrorInfo> ) > ) >
An ICollection that contains the errors.