Compartir a través de


TimeSheet Members

Include Protected Members
Include Inherited Members

Includes methods for managing timesheets in Microsoft Project Server 2010.

The TimeSheet type exposes the following members.

Constructors

  Name Description
Public method TimeSheet Creates a TimeSheet object from the ASMX-based TimeSheet web service.

Top

Properties

  Name Description
Public property AllowAutoRedirect (Inherited from HttpWebClientProtocol.)
Protected property CanRaiseEvents (Inherited from Component.)
Public property ClientCertificates (Inherited from HttpWebClientProtocol.)
Public property ConnectionGroupName (Inherited from WebClientProtocol.)
Public property Container (Inherited from Component.)
Public property CookieContainer (Inherited from HttpWebClientProtocol.)
Public property Credentials (Inherited from WebClientProtocol.)
Protected property DesignMode (Inherited from Component.)
Public property EnableDecompression (Inherited from HttpWebClientProtocol.)
Protected property Events (Inherited from Component.)
Public property PreAuthenticate (Inherited from WebClientProtocol.)
Public property Proxy (Inherited from HttpWebClientProtocol.)
Public property RequestEncoding (Inherited from WebClientProtocol.)
Public property Site (Inherited from Component.)
Public property SoapVersion (Inherited from SoapHttpClientProtocol.)
Public property Timeout (Inherited from WebClientProtocol.)
Public property UnsafeAuthenticatedConnectionSharing (Inherited from HttpWebClientProtocol.)
Public property Url (Inherited from WebClientProtocol.)
Public property UseDefaultCredentials (Inherited from WebClientProtocol.)
Public property UserAgent (Inherited from HttpWebClientProtocol.)

Top

Methods

  Name Description
Public method Abort (Inherited from WebClientProtocol.)
Public method ApproveNonProjectTime Changes the state of the specified non-project time items, from pending to approved or rejected.
Public method ApproveProjectTimesheetLines Approves or rejects a set of project timesheet lines.
Protected method BeginInvoke (Inherited from SoapHttpClientProtocol.)
Protected method CancelAsync (Inherited from HttpWebClientProtocol.)
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method CreateTimesheet Creates a new timesheet and calls the PrepareTimesheetLine(Guid, TimesheetDataSet, []) method.
Public method Discover (Inherited from SoapHttpClientProtocol.)
Public method Dispose() (Inherited from Component.)
Protected method Dispose(Boolean) (Inherited from Component.)
Protected method EndInvoke (Inherited from SoapHttpClientProtocol.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Component.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Protected method GetReaderForMessage (Inherited from SoapHttpClientProtocol.)
Protected method GetService (Inherited from Component.)
Public method GetType (Inherited from Object.)
Protected method GetWebRequest (Inherited from SoapHttpClientProtocol.)
Protected method GetWebResponse(WebRequest) (Inherited from HttpWebClientProtocol.)
Protected method GetWebResponse(WebRequest, IAsyncResult) (Inherited from HttpWebClientProtocol.)
Protected method GetWriterForMessage (Inherited from SoapHttpClientProtocol.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method Invoke (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, [], SendOrPostCallback) (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, [], SendOrPostCallback, Object) (Inherited from SoapHttpClientProtocol.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method PrepareTimesheetLine Validates and populates a timesheet line item and preloads work actuals for the timesheet line.
Public method QueueCleanUpTimesheets Removes timesheet lines between specified dates.
Public method QueueDeleteTimesheet Deletes records for the specified timesheet.
Public method QueueRecallTimesheet Changes the current state of the specified timesheet to be the previous timesheet state, when the current user was the next approver.
Public method QueueReviewTimesheet Changes the state of the specified timesheet from Submittted to Acceptable or Approved, or from Acceptable to Approved, depending on the current user's permissions and the specified action.
Public method QueueSubmitTimesheet Changes the state of the specified timesheet from In Progress to Submitted via the Timesheet Queue.
Public method QueueUpdateTimesheet Saves the specified timesheet data to the Published database.
Public method ReadLateTimesheets Gets the set of timesheets that are considered late for the current user.
Public method ReadProjectTimesheetLines Reads timesheet lines.
Public method ReadResourceLateTimesheets Gets the set of late timesheets that are due from those who report to the current user.
Public method ReadReviewedTimesheets Reads all timesheets that have been reviewed by the current user for the specified resources in the specified time range.
Public method ReadTimesheet Gets the specified timesheet header, line items, and timephased data.
Public method ReadTimesheetApprovers Gets all available approvers for a specified timesheet.
Public method ReadTimesheetByPeriod Gets the timesheet header, line items, and timephased data based on the specified period and resource.
Public method ReadTimesheetList Reads a timesheet summary for the specified resource within the specified date range.
Public method ReadTimesheetsPendingApproval Reads all timesheets that are pending approval in the specified time range.
Public method ReadTimesheetsToAdjust Reads all timesheets that are pending approval for the specified resources in the specified time range.
Public method SubmitTimesheetLines Submits timesheet lines for approval.
Public method ToString (Inherited from Component.)

Top

Events

  Name Description
Public event Disposed (Inherited from Component.)

Top

See Also

Reference

TimeSheet Class

TimeSheet Web Service