Polonius is explaining that he would have been to blame if he had not said anything about the relationship between Ophelia and Hamlet. If he had said nothing he would have "play'd the desk or table-book," that is, acted the part of a desk or notebook by merely receiving information without telling anyone about it.