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