Preparing to Replicate User-Defined Types
You must install and register user-defined types on all database servers prior to starting replication.
For Enterprise Replication to be able to replicate opaque user-defined types (UDTs), the UDT designer must provide two support functions, streamwrite() and streamread(). For more information, see Replication of opaque user-defined data types.