DraftProjectResourceCollection.Add method
Adds a new project resource that is specified by the ProjectResourceCreationInformation 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 ProjectResourceCreationInformation _
) As DraftProjectResource
'Usage
Dim instance As DraftProjectResourceCollection
Dim parameters As ProjectResourceCreationInformation
Dim returnValue As DraftProjectResource
returnValue = instance.Add(parameters)
[RemoteAttribute]
public DraftProjectResource Add(
ProjectResourceCreationInformation parameters
)
Parameters
parameters
Type: Microsoft.ProjectServer.Client.ProjectResourceCreationInformationThe properties of the project resource to create.
Return value
Type: Microsoft.ProjectServer.Client.DraftProjectResource
The draft project resource.
See also
Reference
DraftProjectResourceCollection class