Freigeben über


EventCollection.GetById-Methode

Ruft ein Ereignis mit der Id -Wert aus der Auflistung ab.

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
)

Parameter

  • objectId
    Typ: System.String

    Die Zeichenfolgendarstellung der GUID-Ereignis.

Rückgabewert

Typ: Microsoft.ProjectServer.Client.Event
Ein Event -Objekt.

Siehe auch

Referenz

EventCollection Klasse

EventCollection-Member

Microsoft.ProjectServer.Client-Namespace