ProjectCollection.Remove method
Removes the specified project from the collection.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function Remove ( _
project As PublishedProject _
) As ClientResult(Of Boolean)
'Usage
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
)
Parameters
project
Type: Microsoft.ProjectServer.Client.PublishedProjectThe project to remove.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
True if the project was removed; otherwise, False.