Transactional messaging set option

Transactional behavior is controlled by the set transactional messaging command, which provides three modes of operation, allowing you to select preferred behavior when you use messaging functions in a transaction:

set transactional messaging [ none | simple | full]

Transact-SQL applications can specify a preferred mode, depending on their application requirements.

NoteYou cannot use set transactional messaging inside a transaction.