Agree with Snake-Eyes. The defensive tip is a dead ball on the horn.
Your question doesn't really say for sure, but if the ball isn't through the basket when the horn goes off, it doesn't count. If the ball is through the basket before the horn(unlikely), it does count. If it is counted, it gets credited to the other
team.
Iow, same answer as the NFHS forum, Ed.