次の方法で共有


GetErrors メソッド

エラーの一覧を取得して 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> ) > ) >
エラーが格納された ICollection です。