Share via


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

Return Value

Type: System.String
The source name of the event.

Remarks

For example, the PSEventNameMap.GetSourceName(PSEventId.ProjectDeleted) statement returns the value "Project".

See Also

Reference

PSEventNameMap Class

PSEventNameMap Members

Microsoft.Office.Project.Server.Library Namespace