ProjectCollection.Remove 方法

從集合移除指定的專案。

命名空間:  Microsoft.ProjectServer.Client
組件:  Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)

語法

'宣告
<RemoteAttribute> _
Public Function Remove ( _
    project As PublishedProject _
) As ClientResult(Of Boolean)
'用途
Dim instance As ProjectCollection
Dim project As PublishedProject
Dim returnValue As ClientResult(Of Boolean)

returnValue = instance.Remove(project)
[RemoteAttribute]
public ClientResult<bool> Remove(
    PublishedProject project
)

參數

傳回值

類型:Microsoft.SharePoint.Client.ClientResult<Boolean>
True若專案已移除 ;否則,請False。

請參閱

參照

ProjectCollection 類別

ProjectCollection 成員

Microsoft.ProjectServer.Client 命名空間