PSEventNameMap.GetSourceName Method
Gets the source 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 GetSourceName ( _
id As PSEventID _
) As String
'Usage
Dim id As PSEventID
Dim returnValue As String
returnValue = PSEventNameMap.GetSourceName(id)
public static string GetSourceName(
PSEventID id
)
Parameters
- id
Type: Microsoft.Office.Project.Server.Library.PSEventID
The identification number of the event.
Return Value
Type: System.String
The source name of the event.
Remarks
For example, the PSEventNameMap.GetSourceName(PSEventId.ProjectDeleted) statement returns the value "Project".