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+466b7b4177d79034f8e56fa7578c03dfea8fb3bf
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