Поделиться через


ResourceDataSet.ResourcesDataTable.AddResourcesRow Method

Adds a ResourcesRow object to the ResourcesDataTable.

Namespace:  [Resource Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Resource.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Resource.asmx?wsdl

Syntax

'Declaration
Public Sub AddResourcesRow ( _
    row As ResourceDataSet.ResourcesRow _
)
'Usage
Dim instance As ResourceDataSet.ResourcesDataTable
Dim row As ResourceDataSet.ResourcesRow

instance.AddResourcesRow(row)
public void AddResourcesRow(
    ResourceDataSet.ResourcesRow row
)

Parameters

Remarks

The AddResourcesRow method signature is overloaded as follows:

  • Third-party developers should use the overload that has a single ResourceDataSet.ResourcesRow parameter. For example, AddResourcesRow(ResourceDataSet.ResourcesRow row).

  • The Object Explorer in Microsoft Visual Studio shows another overload, which uses individual parameters for all fields in ResourcesRow. The overload is used internally.

    public ResourcesRow AddResourcesRow(
        System.Guid RES_UID, 
        int RES_ID, 
        int RES_TYPE, 
        bool RES_HAS_NOTES, 
        bool RES_CAN_LEVEL, 
        short RES_ACCRUE_AT, 
        int RES_BOOKING_TYPE, 
        string RES_NAME, 
        string RES_INITIALS, 
        string RES_PHONETICS, 
        string RES_MATERIAL_LABEL, 
        byte[] RES_RTF_NOTES, 
        string WRES_ACCOUNT, 
        bool RES_IS_WINDOWS_USER, 
        string WRES_EMAIL, 
        int WRES_EMAIL_LANGUAGE, 
        System.Guid RES_CHECKOUTBY, 
        System.DateTime RES_CHECKOUTDATE, 
        string RES_HYPERLINK_FRIENDLY_NAME, 
        string RES_HYPERLINK_ADDRESS, 
        string RES_HYPERLINK_SUB_ADDRESS, 
        string RES_CODE, 
        string RES_GROUP, 
        string RES_EXTERNAL_ID, 
        System.Guid RES_TIMESHEET_MGR_UID, 
        System.Guid RES_DEF_ASSN_OWNER, 
        System.DateTime RES_HIRE_DATE, 
        System.DateTime RES_TERMINATION_DATE, 
        bool RES_IS_TEAM, 
        string RES_COST_CENTER, 
        string RES_NOTES, 
        System.Guid BaseCalendarUniqueId, 
        System.DateTime CREATED_DATE, 
        System.DateTime MOD_DATE) 
    

See Also

Reference

ResourceDataSet.ResourcesDataTable Class

ResourceDataSet.ResourcesDataTable Members

Resource Web Service