Share via


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
public string WebSynchronizationUrl { get; set; }
public:
property String^ WebSynchronizationUrl {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_WebSynchronizationUrl ()

/** @property */
public void set_WebSynchronizationUrl (String value)
public function get WebSynchronizationUrl () : String

public function set WebSynchronizationUrl (value : String)

Property Value

A String value that represents a URL.

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MergePublication Class
MergePublication Members
Microsoft.SqlServer.Replication Namespace