TimesheetEventReceiver.OnLineApproving 方法
ApproveNonProjectTime方法前的事件處理常式。
命名空間: Microsoft.Office.Project.Server.Events
組件: Microsoft.Office.Project.Server.Events.Receivers (在 Microsoft.Office.Project.Server.Events.Receivers.dll 中)
語法
'宣告
Public Overridable Sub OnLineApproving ( _
contextInfo As PSContextInfo, _
e As TimesheetLinePreApproveEventArgs _
)
'用途
Dim instance As TimesheetEventReceiver
Dim contextInfo As PSContextInfo
Dim e As TimesheetLinePreApproveEventArgs
instance.OnLineApproving(contextInfo, _
e)
public virtual void OnLineApproving(
PSContextInfo contextInfo,
TimesheetLinePreApproveEventArgs e
)
參數
contextInfo
類型:Microsoft.Office.Project.Server.Library.PSContextInfo包含 Project Server 內容資訊。
備註
覆寫OnLineApproving方法的事件處理常式僅適用於Microsoft Project Server 2010中的非專案 (系統管理) 時程表列。
如需建立事件處理常式的資訊,請參閱 < How to: Create a Project Server Event Handler and Log an Event。
變更報表資料庫中的時程表資料的其他報表資料服務 (RDS) 事件的相關資訊,請參閱事件 RDB。