Compartir a través de


TimesheetDataSet.HeadersDataTable.AddHeadersRow Method

Adds a TimesheetDataSet.HeadersRow object to the TimesheetDataSet.HeadersDataTable.

Namespace:  [TimeSheet Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/TimeSheet.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/TimeSheet.asmx?wsdl

Syntax

'Declaration
Public Sub AddHeadersRow ( _
    row As TimesheetDataSet.HeadersRow _
)
'Usage
Dim instance As TimesheetDataSet.HeadersDataTable
Dim row As TimesheetDataSet.HeadersRow

instance.AddHeadersRow(row)
public void AddHeadersRow(
    TimesheetDataSet.HeadersRow row
)

Parameters

Remarks

The AddHeadersRow method signature is overloaded as follows:

  • Third-party developers should use the overload that has a single TimesheetDataSet.HeadersRow parameter, for example, AddHeadersRow(TimesheetDataSet.HeadersRow row).

  • The Object Explorer in Microsoft Visual Studio shows another overload that uses individual parameters for all fields in HeadersRow. The overload is used internally.

    public HeadersRow AddHeadersRow(
        System.Guid TS_UID, 
        string TS_NAME, 
        System.Guid WPRD_UID, 
        string TS_COMMENTS, 
        System.Guid TS_CREATOR_RES_UID, 
        byte TS_ENTRY_MODE_ENUM, 
        byte TS_STATUS_ENUM, 
        byte TS_WEEK_STARTS_ON, 
        System.Guid RES_UID, 
        System.Guid RES_TIMESHEET_MGR_UID, 
        string TS_CACHED_RES_NAME, 
        string TS_CACHED_CREATOR_RES_NAME, 
        bool TS_IS_PROCESSED, 
        bool TS_IS_CONTROLLED_BY_OWNER, 
        decimal TS_TOTAL_ACT_VALUE, 
        decimal TS_TOTAL_ACT_OVT_VALUE, 
        decimal TS_TOTAL_ACT_NON_BILLABLE_VALUE, 
        decimal TS_TOTAL_ACT_NON_BILLABLE_OVT_VALUE, 
        decimal TS_GRAND_TOTAL_ACT_VALUE) 
    

See Also

Reference

TimesheetDataSet.HeadersDataTable Class

TimesheetDataSet.HeadersDataTable Members

TimeSheet Web Service