WrkCtrResourceGroupResource::addResourceGroupResourceNoThrow Method
Assigns a resource to a resource group and catches any error that might occur in the validation or insertion of the record.
Syntax
client server public static void addResourceGroupResourceNoThrow(
WrkCtrId _wrkCtrId,
WrkCtrResourceGroup _wrkCtrResourceGroup,
CalendarId _calendarId,
ValidFromDate _validFrom,
ValidToDate _validTo)
Run On
Called
Parameters
- _wrkCtrId
Type: WrkCtrId Extended Data Type
The ID of the resource for which to create a membership.
- _wrkCtrResourceGroup
Type: WrkCtrResourceGroup Table
The resource group record of which the resource is a member.
- _calendarId
Type: CalendarId Extended Data Type
The ID of the calendar for the period.
- _validFrom
Type: ValidFromDate Extended Data Type
The date at which the membership is effective.
- _validTo
Type: ValidToDate Extended Data Type
The date at which the membership expires.