UserDelegationDataSet.ResourceDelegationsDataTable.AddResourceDelegationsRow 方法 (Guid, Guid, String, Guid, String, DateTime, DateTime)
會將ResourceDelegationsRow物件加入ResourceDelegationsDataTable使用個別的參數。
命名空間: WebSvcResource
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
Public Function AddResourceDelegationsRow ( _
DELEGATION_UID As Guid, _
RES_UID As Guid, _
RES_NAME As String, _
DELEGATE_UID As Guid, _
DELEGATE_NAME As String, _
DELEGATION_START As DateTime, _
DELEGATION_FINISH As DateTime _
) As UserDelegationDataSet.ResourceDelegationsRow
'用途
Dim instance As UserDelegationDataSet.ResourceDelegationsDataTable
Dim DELEGATION_UID As Guid
Dim RES_UID As Guid
Dim RES_NAME As String
Dim DELEGATE_UID As Guid
Dim DELEGATE_NAME As String
Dim DELEGATION_START As DateTime
Dim DELEGATION_FINISH As DateTime
Dim returnValue As UserDelegationDataSet.ResourceDelegationsRow
returnValue = instance.AddResourceDelegationsRow(DELEGATION_UID, _
RES_UID, RES_NAME, DELEGATE_UID, _
DELEGATE_NAME, DELEGATION_START, _
DELEGATION_FINISH)
public UserDelegationDataSet.ResourceDelegationsRow AddResourceDelegationsRow(
Guid DELEGATION_UID,
Guid RES_UID,
string RES_NAME,
Guid DELEGATE_UID,
string DELEGATE_NAME,
DateTime DELEGATION_START,
DateTime DELEGATION_FINISH
)
參數
DELEGATION_UID
類型:System.Guid包含委派的 GUID。
RES_UID
類型:System.Guid包含資源 GUID。
RES_NAME
類型:System.String會包含該資源名稱。
DELEGATE_UID
類型:System.Guid包含委派的 GUID。
DELEGATE_NAME
類型:System.String包含的代理人名稱。
DELEGATION_START
類型:System.DateTime包含委派的開始日期。
DELEGATION_FINISH
類型:System.DateTime包含委派的完成日期。
傳回值
類型:WebSvcResource.UserDelegationDataSet.ResourceDelegationsRow
備註
一般而言,開發人員應該使用AddResourceDelegationsRow超載的狀況。
請參閱
參照
UserDelegationDataSet.ResourceDelegationsDataTable 類別