共用方式為


DraftAssignmentCollection.GetById 方法

使用Id值從集合取得草稿工作分派。

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

語法

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

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

參數

  • objectId
    類型:System.String

    該值字串表示的工作分派的 GUID。

傳回值

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

請參閱

參照

DraftAssignmentCollection 類別

DraftAssignmentCollection 成員

Microsoft.ProjectServer.Client 命名空間