Compartir a través de


Events.ReadEventHandlerAssociation Method

Gets the information for a specified Project Server event handler.

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/ReadEventHandlerAssociation", 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 ReadEventHandlerAssociation ( _
    eventHandlerUid As Guid _
) As EventHandlersDataSet
'Usage
Dim instance As Events
Dim eventHandlerUid As Guid
Dim returnValue As EventHandlersDataSet

returnValue = instance.ReadEventHandlerAssociation(eventHandlerUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Events/ReadEventHandlerAssociation", 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 ReadEventHandlerAssociation(
    Guid eventHandlerUid
)

Parameters

  • eventHandlerUid
    Type: System.Guid
    The GUID of the event handler.

Return Value

Type: [Events Web service].EventHandlersDataSet
The EventHandlersDataSet contains information about the specified event handler association, 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