次の方法で共有


Events.ReadEventHandlerAssociations Method

Gets information about all of the event handlers for all Project Server events.

Namespace:  [Events Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Events.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Events.asmx?wsdl

Syntax

'Declaration
<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
'Usage
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()

Return Value

Type: [Events Web service].EventHandlersDataSet
The EventHandlersDataSet contains information about all of the event handler associations for all events, including the event handler assembly name, class name, description, related event, and the order in which the event handler is called (the sequence number).

Remarks

Project Server Permissions

Permission

Description

ManageServerEvents

Allows a user to manage event handlers for server-side events. Global permission.

See Also

Reference

Events Class

Events Members

Events Web Service