共用方式為


Events.ReadEventHandlerAssociations 方法

取得所有的 Project Server 事件的事件處理常式的所有資訊。

命名空間:  WebSvcEvents
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Events/ReadEventHandlerAssociations", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Events/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Events/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadEventHandlerAssociations As EventHandlersDataSet
'用途
Dim instance As Events
Dim returnValue As EventHandlersDataSet

returnValue = instance.ReadEventHandlerAssociations()
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Events/ReadEventHandlerAssociations", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Events/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Events/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public EventHandlersDataSet ReadEventHandlerAssociations()

傳回值

類型:WebSvcEvents.EventHandlersDataSet
EventHandlersDataSet包含所有的所有事件,包括事件處理常式組件名稱、 類別名稱、 描述、 相關的事件,以及順序的最上層的事件處理常式會呼叫 (序號) 的事件處理常式關聯性資訊。

備註

Project Server 權限

權限

描述

ManageServerEvents

可讓使用者管理的伺服器端事件的事件處理常式。通用權限。

請參閱

參照

Events 類別

Events 成員

WebSvcEvents 命名空間