Note:
This user must be a valid user in the Microsoft SQL Server database, and it
must be different from the user defined by the Replication Agent
pds_username parameter, which is used for Replication
Agent connections to the primary database.
This command creates a Replication Server
connection to the primary database
example:
create connection to NY.NYmss5
set error class rs_udb_error_class
set function string class rs_mss5_function_class
set username maint_user
set password change_on_install
with log transfer on, dsi_suspended
go