共用方式為


ProjectEventReceiver.OnSyncingProjectEnterpriseEntities 方法

前的事件處理常式的QueueSynchronizeProjectWorkspace(Guid, Guid, Boolean)SyncProjectWithWss方法。

命名空間:  Microsoft.Office.Project.Server.Events
組件:  Microsoft.Office.Project.Server.Events.Receivers (在 Microsoft.Office.Project.Server.Events.Receivers.dll 中)

語法

'宣告
Public Overridable Sub OnSyncingProjectEnterpriseEntities ( _
    contextInfo As PSContextInfo, _
    e As SyncingProjectEnterpriseEntitiesEventArgs _
)
'用途
Dim instance As ProjectEventReceiver
Dim contextInfo As PSContextInfo
Dim e As SyncingProjectEnterpriseEntitiesEventArgs

instance.OnSyncingProjectEnterpriseEntities(contextInfo, _
    e)
public virtual void OnSyncingProjectEnterpriseEntities(
    PSContextInfo contextInfo,
    SyncingProjectEnterpriseEntitiesEventArgs e
)

參數

請參閱

參照

ProjectEventReceiver 類別

ProjectEventReceiver 成員

Microsoft.Office.Project.Server.Events 命名空間