共用方式為


EnterpriseProjectTypeCollection.Remove 方法

從集合移除指定的企業專案類型 (EPT)。

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

語法

'宣告
<RemoteAttribute> _
Public Function Remove ( _
    ept As EnterpriseProjectType _
) As ClientResult(Of Boolean)
'用途
Dim instance As EnterpriseProjectTypeCollection
Dim ept As EnterpriseProjectType
Dim returnValue As ClientResult(Of Boolean)

returnValue = instance.Remove(ept)
[RemoteAttribute]
public ClientResult<bool> Remove(
    EnterpriseProjectType ept
)

參數

傳回值

類型:Microsoft.SharePoint.Client.ClientResult<Boolean>
True如果物件已移除從集合 ;否則,請False。

請參閱

參照

EnterpriseProjectTypeCollection 類別

EnterpriseProjectTypeCollection 成員

Microsoft.ProjectServer.Client 命名空間