Condividi tramite


Proprietà WebSynchronizationUrl

Gets or sets the URL used with Web synchronization.

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

'Dichiarazione
Public Property WebSynchronizationUrl As String
    Get
    Set
'Utilizzo
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)

Valore proprietà

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

Osservazioni

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.