共用方式為


ProjectEventReceiver.OnWssWorkspaceAddressDeleted 方法

QueueDeleteProjects方法的後置事件處理常式。

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

語法

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

instance.OnWssWorkspaceAddressDeleted(contextInfo, _
    e)
public virtual void OnWssWorkspaceAddressDeleted(
    PSContextInfo contextInfo,
    WssWorkspaceAddressDeletedEventArgs e
)

參數

備註

QueueDeleteProjectsdeleteWSS參數,則為 true 時,會刪除project site 。OnWssWorkspaceAddressDeleted的週期定期發生刪除每個project site 。

如需建立事件處理常式的資訊,請參閱 < How to: Create a Project Server Event Handler and Log an Event

變更報表資料庫中的project site資料的其他報表資料服務 (RDS) 事件的相關資訊,請參閱事件 RDB

請參閱

參照

ProjectEventReceiver 類別

ProjectEventReceiver 成員

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