Partager via


PSClientError.GetErrorDataSet - Méthode (String, List<PSErrorInfo[]>)

Obtient un DataSet qui contient toutes les tables et les lignes qui a été précédemment définis pour un appel de la méthode PSI des erreurs.

Espace de noms :  Microsoft.Office.Project.Server.Library
Assembly :  Microsoft.Office.Project.Server.Library (dans Microsoft.Office.Project.Server.Library.dll)

Syntaxe

'Déclaration
Public Function GetErrorDataSet ( _
    dataSetName As String, _
    <OutAttribute> ByRef errInfoList As List(Of PSErrorInfo()) _
) As DataSet
'Utilisation
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
)

Paramètres

  • dataSetName
    Type : System.String

    Nom de la DataSet. La valeur une référence Null (Rien dans Visual Basic) si le jeu de données n'a aucun nom.

Valeur renvoyée

Type : System.Data.DataSet
L' erreur DataSet. Retourne une liste avec PSErrorInfoégalement tableaux [] décrivant l'erreur.

Remarques

Chaque table dans la renvoyé DataSet possède une colonne supplémentaire nommée ErrorIndex, de type int. La colonne ErrorIndex mappe spécifique DataRows aux entrées de l' renvoyée List<PSErrorInfo[]>.

Voir aussi

Référence

PSClientError classe

PSClientError - Membres

GetErrorDataSet - Surcharge

Microsoft.Office.Project.Server.Library - Espace de noms