SubscriptionName Property

Replication Programming

Replication Programming

SubscriptionName Property

The SubscriptionName property specifies a display name for the subscription. This name is used in the Windows Synchronization Manager user interface.

Applies To

SQLDistribution Object

SQLMerge Object


object.Subscription [= value]

Part Description
object Expression that evaluates to an object in the Applies To list.
value Name of the Subscription.

If SubscriptionName is not specified, a subscription name is set using Subscriber name, Subscriber database, and publication.

The SubscriptionName property is not persisted anywhere except in the operating system registry for the current user Synchronization manager settings. All subsequent merges will show the property to be formatted:


This is consistent with the way subscription names are shown in SQL Server Enterprise Manager.

Data Type




Prototype (C/C++)

HRESULT get_SubscriptionName(BSTR *pVal);

HRESULT put_SubscriptionName(BSTR newVal);