次の方法で共有


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

Return Value

Type: System.String
The name of the event.

Remarks

For example, the PSEventNameMap.GetEventName(PSEventId.ProjectDeleted) statement returns the value "Deleted".

See Also

Reference

PSEventNameMap Class

PSEventNameMap Members

Microsoft.Office.Project.Server.Library Namespace