sys.sp_get_redirected_publisher
Used by replication agents to query a distributor to determine whether the original publisher was redirected.
What changes
- Input
- Not stated in the Microsoft summary.
- Output or change
- Not stated in the Microsoft summary.
Syntax at a glance
sys.sp_get_redirected_publisher
[ @original_publisher = ] N'original_publisher'
, [ @publisher_db = ] N'publisher_db'
[ , [ @bypass_publisher_validation = ] bypass_publisher_validation ]
[ , [ @multi_subnet_failover = ] multi_subnet_failover ]
[ , [ @encrypt_distributor_connection = ] N'encrypt_distributor_connection' ]
[ , [ @trust_distributor_certificate = ] N'trust_distributor_certificate' ]
[ , [ @host_name_in_distributor_certificate = ] N'host_name_in_distributor_certificate' ]
[ ; ]
Work example
Used by replication agents to query a distributor to determine whether the original publisher was redirected.
Write a proposed call on paper. Name the target, required permission, expected change, and recovery step before any lab use.
Check your work What can this procedure change or start, and what permission does it need?
Open Microsoft Learn for full syntax, permissions, and details for your version.