PSClientError.GetErrorDataSet Method (String, List<PSErrorInfo >)
Gets a DataSet that contains all tables and rows which have had errors previously set for a PSI method call.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Public Function GetErrorDataSet ( _
dataSetName As String, _
<OutAttribute> ByRef errInfoList As List(Of PSErrorInfo()) _
) As DataSet
'Usage
Dim instance As PSClientError
Dim dataSetName As String
Dim errInfoList As List(Of PSErrorInfo())
Dim returnValue As DataSet
returnValue = instance.GetErrorDataSet(dataSetName, _
errInfoList)
public DataSet GetErrorDataSet(
string dataSetName,
out List<PSErrorInfo[]> errInfoList
)
Parameters
- dataSetName
Type: System.String
Name of the DataSet. Set to a null reference (Nothing in Visual Basic) if the DataSet has no name.
- errInfoList
Type: System.Collections.Generic.List<[]>
Returned List containing PSErrorInfo[] arrays.
Return Value
Type: System.Data.DataSet
The error DataSet. Also returns a List with PSErrorInfo[] arrays that describe the error.
Remarks
Each table in the returned DataSet has one additional column named ErrorIndex, of type int. The ErrorIndex column maps specific DataRows to entries in the returned List<PSErrorInfo[]>.