PSEventNameMap.GetEventName Method
Gets the name of the specified event.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Public Shared Function GetEventName ( _
id As PSEventID _
) As String
'Usage
Dim id As PSEventID
Dim returnValue As String
returnValue = PSEventNameMap.GetEventName(id)
public static string GetEventName(
PSEventID id
)
Parameters
- id
Type: Microsoft.Office.Project.Server.Library.PSEventID
The identification number of the event.
Return Value
Type: System.String
The name of the event.
Remarks
For example, the PSEventNameMap.GetEventName(PSEventId.ProjectDeleted) statement returns the value "Deleted".