| AccountDeleteAccounts Method |
This method enables you to delete existing Account items from CampusNexus CRM.
Namespace: AccountServiceC#
public long DeleteAccounts( string strAccountIDs, bool bDeleteOpportunities, out string error )
Parameters
- strAccountIDs
- Type: SystemString
[in] The comma separated list of Account IDs that must be deleted from CampusNexus CRM. - bDeleteOpportunities
- Type: SystemBoolean
[in] It indicates whether the related Object items associated with the Account items must be deleted when the Account items are deleted. You can specify one of the following values:- True - Indicates that the related Object items associated with the Account items must be deleted.
- False - Indicates that the related Object items associated with the Account items must be retained.
- error
- Type: SystemString
[out] The error messages returned when the delete operation fails.
Return Value
Type: Int64The DeleteAccounts method returns 0 if the delete operation is successful and a negative value if the operation fails.