UnsubmittedTimesheetDataSet.TimePeriodsDataTable.AddTimePeriodsRow Method (Guid, DateTime, DateTime, String, Guid, String, String, Byte)
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: [Admin Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Admin.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Admin.asmx?wsdl
Syntax
'Declaration
Public Function AddTimePeriodsRow ( _
WPRD_UID As Guid, _
WPRD_START_DATE As DateTime, _
WPRD_FINISH_DATE As DateTime, _
WPRD_NAME As String, _
RES_UID As Guid, _
RES_NAME As String, _
TS_NAME As String, _
TS_STATUS_ENUM As Byte _
) As UnsubmittedTimesheetDataSet.TimePeriodsRow
'Usage
Dim instance As UnsubmittedTimesheetDataSet.TimePeriodsDataTable
Dim WPRD_UID As Guid
Dim WPRD_START_DATE As DateTime
Dim WPRD_FINISH_DATE As DateTime
Dim WPRD_NAME As String
Dim RES_UID As Guid
Dim RES_NAME As String
Dim TS_NAME As String
Dim TS_STATUS_ENUM As Byte
Dim returnValue As UnsubmittedTimesheetDataSet.TimePeriodsRow
returnValue = instance.AddTimePeriodsRow(WPRD_UID, _
WPRD_START_DATE, WPRD_FINISH_DATE, _
WPRD_NAME, RES_UID, RES_NAME, TS_NAME, _
TS_STATUS_ENUM)
public UnsubmittedTimesheetDataSet.TimePeriodsRow AddTimePeriodsRow(
Guid WPRD_UID,
DateTime WPRD_START_DATE,
DateTime WPRD_FINISH_DATE,
string WPRD_NAME,
Guid RES_UID,
string RES_NAME,
string TS_NAME,
byte TS_STATUS_ENUM
)
Parameters
- WPRD_UID
Type: System.Guid
- WPRD_START_DATE
Type: System.DateTime
- WPRD_FINISH_DATE
Type: System.DateTime
- WPRD_NAME
Type: System.String
- RES_UID
Type: System.Guid
- RES_NAME
Type: System.String
- TS_NAME
Type: System.String
- TS_STATUS_ENUM
Type: System.Byte
Return Value
Type: [Admin Web service].UnsubmittedTimesheetDataSet.TimePeriodsRow
Remarks
In general, developers should use the AddTimePeriodsRow(UnsubmittedTimesheetDataSet.TimePeriodsRow) overload.
See Also
Reference
UnsubmittedTimesheetDataSet.TimePeriodsDataTable Class