[This is preliminary documentation and is subject to change.]

Updates the database from the created object

Namespace:  OfficeClip.DBLayer.Service
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public OCServiceReturnStatus UpdateDb(
	int taskId,
	DBConstants..::.ProcessWhichEvent pwe,
	OCTask oct,
	OCServiceImportPolicy policy
)
Visual Basic (Declaration)
Public Function UpdateDb ( _
	taskId As Integer, _
	pwe As DBConstants..::.ProcessWhichEvent, _
	oct As OCTask, _
	policy As OCServiceImportPolicy _
) As OCServiceReturnStatus
Visual C++
public:
OCServiceReturnStatus UpdateDb(
	int taskId, 
	DBConstants..::.ProcessWhichEvent pwe, 
	OCTask^ oct, 
	OCServiceImportPolicy policy
)

Parameters

taskId
Type: System..::.Int32
The unique id of the role to be updated
pwe
Type: OfficeClip.DBLayer..::.DBConstants..::.ProcessWhichEvent
Shows which tasks needs to be updated
oct
Type: OfficeClip.BusinessLayer.Service..::.OCTask
The OfficeClip Service Task Object
policy
Type: OfficeClip.Utils..::.OCServiceImportPolicy
The update policy

Return Value

Returns success or failure values

See Also