Share via


EventCollection.GetById method

Gets an event from the collection with the Id value.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As Event
'Usage
Dim instance As EventCollection
Dim objectId As String
Dim returnValue As Event

returnValue = instance.GetById(objectId)
[RemoteAttribute]
public Event GetById(
    string objectId
)

Parameters

  • objectId
    Type: System.String

    The string representation of the event GUID.

Return value

Type: Microsoft.ProjectServer.Client.Event
An Event object.

See also

Reference

EventCollection class

EventCollection members

Microsoft.ProjectServer.Client namespace