共用方式為


PSClientError.GetErrorDataSet Method (String)

Gets the specified 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 _
) As DataSet
'Usage
Dim instance As PSClientError
Dim dataSetName As String
Dim returnValue As DataSet

returnValue = instance.GetErrorDataSet(dataSetName)
public DataSet GetErrorDataSet(
    string dataSetName
)

Parameters

  • dataSetName
    Type: System.String
    Name of the DataSet. Set to a null reference (Nothing in Visual Basic) if the DataSet has no name.

Return Value

Type: System.Data.DataSet
The error DataSet.

Remarks

Modifying the returned DataSet has no effect on the PSClientError object.

See Also

Reference

PSClientError Class

PSClientError Members

GetErrorDataSet Overload

Microsoft.Office.Project.Server.Library Namespace