Marking a stored procedure

When you mark a stored procedure for replication, Mirror Replication Agent creates a shadow-row procedure for that stored procedure.

Mirror Replication Agent also modifies the marked stored procedure as follows:

When you unmark an object that has been marked for replication, the transaction log objects that were created to facilitate the replication for that object are removed from the primary database.

When you mark a stored procedure for replication, Mirror Replication Agent creates the transaction log objects that capture the stored procedure invocation in the transaction log.

NoteDDL replication must be disabled during the marking of stored procedures. Because marking of a stored procedure modifies that stored procedure, you must first disable DDL replication to prevent the marking modifications from replicating to the standby site.