StatusAssignmentCollection.Add method
Adds the assignment that is specified by the StatusAssignmentCreationInformation object to the collection.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function Add ( _
parameters As StatusAssignmentCreationInformation _
) As StatusAssignment
'Usage
Dim instance As StatusAssignmentCollection
Dim parameters As StatusAssignmentCreationInformation
Dim returnValue As StatusAssignment
returnValue = instance.Add(parameters)
[RemoteAttribute]
public StatusAssignment Add(
StatusAssignmentCreationInformation parameters
)
Parameters
parameters
Type: Microsoft.ProjectServer.Client.StatusAssignmentCreationInformationThe properties of the status assignment to create.
Return value
Type: Microsoft.ProjectServer.Client.StatusAssignment
The assignment for the status update.
Remarks
If the assignment is for the application user, it can be added to the StatusAssignmentCollection object without permissions other than "log on to Project Server." If the assignment is for another resource, the application user must have the status broker permission (StatusBrokerPermission). Otherwise, the call to the Add method can fail with the permission denied exception.
See also
Reference
StatusAssignmentCollection class