WebSynchronizationUrl 屬性

Gets or sets the URL used with Web synchronization.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property WebSynchronizationUrl As String
    Get
    Set
'用途
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)

屬性值

型別:System. . :: . .String
A String value that represents a URL.

備註

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.