Share via


Events.ReadEventsList Method

Gets a list of Project Server events.

Namespace:  WebSvcEvents
Assembly:  ProjectServerWebServices (in ProjectServerWebServices.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Events/ReadEventsList", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/Events/",  _
    ResponseNamespace := "http://schemas.microsoft.com/office/project/server/webservices/Events/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadEventsList As EventsDataSet
'Usage
Dim instance As Events
Dim returnValue As EventsDataSet

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

Return Value

Type: WebSvcEvents.EventsDataSet
The EventsDataSet includes the event ID, event name, and source of the event.

Remarks

Event sources are Project Server entities such as Project, Calendar, Custom Field, LookupTable, and so forth. The event names include pre-events and post-events. For example, the Project Publishing pre-event is triggered when you make a PSI call to publish a project and before the project is published. The Project Published post-event is triggered after the project is saved in the Published database.

Project Server Permissions

Permission

Description

ManageServerEvents

Manage event handlers for server-side events. Global permission.

See Also

Reference

Events Class

Events Members

WebSvcEvents Namespace