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.StringNom de la DataSet. La valeur une référence Null (Rien dans Visual Basic) si le jeu de données n'a aucun nom.
errInfoList
Type : System.Collections.Generic.List<[]>Renvoyé List contenant des tableaux de PSErrorInfo[] .
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[]>.