MergePublication.WebSynchronizationUrl Property

Gets or sets the URL used with Web synchronization.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Property WebSynchronizationUrl As String 
    Get 
    Set
'Usage
Dim instance As MergePublication 
Dim value As String 

value = instance.WebSynchronizationUrl

instance.WebSynchronizationUrl = value
public string WebSynchronizationUrl { get; set; }
public:
property String^ WebSynchronizationUrl {
    String^ get ();
    void set (String^ value);
}
member WebSynchronizationUrl : string with get, set
function get WebSynchronizationUrl () : String 
function set WebSynchronizationUrl (value : String)

Property Value

Type: System.String
A URL used with Web synchronization.

Remarks

The WebSynchronizationUrl property does not affect the behavior of merge replication. It is provided only to allow Microsoft SQL Server Management Studio to return a hint to users who create subscriptions to the publication.

The WebSynchronizationUrl property can be retrieved by members of the db_owner or replmonitor fixed database roles on the publication database or by members of the publication access list (PAL) for the publication.

The WebSynchronizationUrl property can be set by members of the sysadmin fixed server role at the Publisher. It can also be set by members of the db_owner fixed database role on the publication database.

Retrieving WebSynchronizationUrl is equivalent to executing sp_helpmergepublication.

Setting WebSynchronizationUrl is equivalent to executing sp_addmergepublication or sp_changemergepublication.

See Also

Reference

MergePublication Class

Microsoft.SqlServer.Replication Namespace