Partager via


Propriété WebSynchronizationUrl

Gets or sets the URL used with Web synchronization.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Property WebSynchronizationUrl As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .String
A String value that represents a URL.

Notes

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.