Click or drag to resize

IResourceDeleteResource Method

Deletes a Resource.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax
bool DeleteResource(
	string resourceGUID
)

Parameters

resourceGUID  String
Resource GUID, identifies the resource to delete.

Return Value

Boolean
True if Resource was successfully deleted, otherwise false.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
NoPermissionExceptionAPI user does not have permission to perform the action.
ValidationExceptionInput data was not valid.
GeneralFailureExceptionAny other fault.
Remarks
A resource can not be deleted if it is a participant of any activity.
See Also