DraftProjectResourceCollection.AddEnterpriseResource 方法

将现有的企业资源添加到草稿项目资源集合。

命名空间:  Microsoft.ProjectServer.Client
程序集:  Microsoft.ProjectServer.Client(位于 Microsoft.ProjectServer.Client.dll 中)

语法

声明
<RemoteAttribute> _
Public Function AddEnterpriseResource ( _
    resource As EnterpriseResource _
) As DraftProjectResource
用法
Dim instance As DraftProjectResourceCollection
Dim resource As EnterpriseResource
Dim returnValue As DraftProjectResource

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

参数

返回值

类型:Microsoft.ProjectServer.Client.DraftProjectResource
草稿项目资源中。

另请参阅

引用

DraftProjectResourceCollection 类

DraftProjectResourceCollection 成员

Microsoft.ProjectServer.Client 命名空间