Project.GetResourcePlan 方法
取得專案的資源計劃資料篩選專案資料的日期範圍和時幅參數。
命名空間: Microsoft.ProjectServer.Client
組件: Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)
語法
'宣告
<RemoteAttribute> _
Public Function GetResourcePlan ( _
start As DateTime, _
end As DateTime, _
timeScale As TimeScale _
) As ResourcePlan
'用途
Dim instance As Project
Dim start As DateTime
Dim end As DateTime
Dim timeScale As TimeScale
Dim returnValue As ResourcePlan
returnValue = instance.GetResourcePlan(start, _
end, timeScale)
[RemoteAttribute]
public ResourcePlan GetResourcePlan(
DateTime start,
DateTime end,
TimeScale timeScale
)
參數
start
類型:System.DateTime資源計劃資料的開始日期。
end
類型:System.DateTime資源計劃資料的結束日期。
timeScale
類型:Microsoft.ProjectServer.Client.TimeScale代表為時間刻度,(例如,天或數週) 的列舉。
傳回值
類型:Microsoft.ProjectServer.Client.ResourcePlan
資源計劃。
備註
資源計劃提供一種方式來評估公司資源容量,當某些專案在完整執行中且其他人仍處於提案階段或規劃階段。