UserDelegationDataSet.ResourceDelegationsDataTable.AddResourceDelegationsRow 方法 (Guid, Guid, String, Guid, String, DateTime, DateTime)
通过使用不同的参数向ResourceDelegationsDataTable的ResourceDelegationsRow对象。
命名空间: 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 类