Share via


DraftProjectResourceCollection.AddEnterpriseResource method

Adds an existing enterprise resource to the draft project resource collection.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function AddEnterpriseResource ( _
    resource As EnterpriseResource _
) As DraftProjectResource
'Usage
Dim instance As DraftProjectResourceCollection
Dim resource As EnterpriseResource
Dim returnValue As DraftProjectResource

returnValue = instance.AddEnterpriseResource(resource)
[RemoteAttribute]
public DraftProjectResource AddEnterpriseResource(
    EnterpriseResource resource
)

Parameters

Return value

Type: Microsoft.ProjectServer.Client.DraftProjectResource
The draft project resource.

See also

Reference

DraftProjectResourceCollection class

DraftProjectResourceCollection members

Microsoft.ProjectServer.Client namespace