PublishedAssignmentCollection.GetById method
Gets a published assignment 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 PublishedAssignment
'Usage
Dim instance As PublishedAssignmentCollection
Dim objectId As String
Dim returnValue As PublishedAssignment
returnValue = instance.GetById(objectId)
[RemoteAttribute]
public PublishedAssignment GetById(
string objectId
)
Parameters
objectId
Type: System.StringThe string representation of the assignment GUID.
Return value
Type: Microsoft.ProjectServer.Client.PublishedAssignment
A PublishedAssignment object.
See also
Reference
PublishedAssignmentCollection class