AccountDeleteAccount Method |
This method enables you to delete an existing Account item from CampusNexus CRM.
Namespace: AccountService
C#
public long DeleteAccount( long accountID, bool deleteRelObjects, out string error )
Parameters
- accountID
- Type: SystemInt64
[in] The ID of the Account item you want to delete from CampusNexus CRM. - deleteRelObjects
- Type: SystemBoolean
[in] The value in this parameter indicates whether the related Object items associated with the Account item must be deleted when the Account item is deleted. You can specify one of the following values:- True - Related Object items associated with the Account item must be deleted.
- False - Related Object items associated with the Account item must be retained.
- error
- Type: SystemString
[out] The error messages returned when the delete operation fails.
Return Value
Type: Int64The DeleteAccount method returns 0 if the delete operation is successful and a negative value if the operation fails.
