共用方式為


StageCollection.GetById 方法

使用Id值從集合中取得的工作流程階段。

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

語法

'宣告
<RemoteAttribute> _
Public Function GetById ( _
    objectId As String _
) As Stage
'用途
Dim instance As StageCollection
Dim objectId As String
Dim returnValue As Stage

returnValue = instance.GetById(objectId)
[RemoteAttribute]
public Stage GetById(
    string objectId
)

參數

  • objectId
    類型:System.String

    工作流程階段 GUID 字串表示。

傳回值

類型:Microsoft.ProjectServer.Client.Stage
Stage物件。

請參閱

參照

StageCollection 類別

StageCollection 成員

Microsoft.ProjectServer.Client 命名空間