ResourceDataSet.ResourcesDataTable.AddResourcesRow Method (ResourceDataSet.ResourcesRow)

Adds a ResourcesRow object to the ResourcesDataTable.

Namespace:  WebSvcResource
Assembly:  ProjectServerWebServices (in ProjectServerWebServices.dll)

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

AddResourcesRow Overload

WebSvcResource Namespace