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

Marks the resource as deleted so that new future reservations can be created for this particular resource, but the existing reservations refering to this resource will not be affected.

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

Syntax

C#
public int DeleteResource(
	int resourceId
)
Visual Basic (Declaration)
Public Function DeleteResource ( _
	resourceId As Integer _
) As Integer
Visual C++
public:
int DeleteResource(
	int resourceId
)

Parameters

resourceId
Type: System..::.Int32
Id of the resource being marked as deleted.

Return Value

0 when successful, -1 in case of an error.

See Also