I am working on implementing advanced replication in a single-master environment. I have written a function to resolve update conflicts on a table, and I want to log information about the conflict in a table for reporting purposes. I am looking for a way to get the name of the snapshot database that caused the conflict so reports can be grouped by site. I haven't been able to find any way to retrieve this information, but I know the master database must know it because you can use the "APPEND SITE NAME" function on Uniqueness conflicts.

Thank you in advance for any suggestions!