TimeSheetPeriodCollection.GetById method
時程表期間從集合取得Id()值。
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'宣告
<RemoteAttribute> _
Public Function GetById ( _
objectId As String _
) As TimeSheetPeriod
'用途
Dim instance As TimeSheetPeriodCollection
Dim objectId As String
Dim returnValue As TimeSheetPeriod
returnValue = instance.GetById(objectId)
[RemoteAttribute]
public TimeSheetPeriod GetById(
string objectId
)
參數
objectId
Type: System.String時程表期間 GUID 的字串表示。
傳回值
Type: Microsoft.ProjectServer.Client.TimeSheetPeriod
TimesheetPeriod物件。
請參閱
參照
TimeSheetPeriodCollection class