MergePullSubscription.InternetTimeout 属性

Gets or sets the HTTP timeout, in seconds, when connecting to the Web server during Web synchronization.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public Property InternetTimeout As Integer 
    Get 
    Set
用法
Dim instance As MergePullSubscription 
Dim value As Integer 

value = instance.InternetTimeout

instance.InternetTimeout = value
public int InternetTimeout { get; set; }
public:
property int InternetTimeout {
    int get ();
    void set (int value);
}
member InternetTimeout : int with get, set
function get InternetTimeout () : int 
function set InternetTimeout (value : int)

属性值

类型:System.Int32
An Int32 value that represents the number of seconds.

注释

The default value is 300 seconds.

The InternetTimeout property can only be retrieved by members of the sysadmin fixed server role at the Subscriber or by members of the db_owner fixed database role on the subscription database.

The InternetTimeout property can only be set by members of the sysadmin fixed server role at the Subscriber or by members of the db_owner fixed database role on the subscription database.

Retrieving the InternetTimeout property is equivalent to executing sp_helpmergepullsubscription.

Setting the InternetTimeout property is equivalent to executing sp_addmergepullsubscription_agent or sp_changemergepullsubscription.

This property is only used when the UseWebSynchronization property is true.

请参阅

参考

MergePullSubscription 类

Microsoft.SqlServer.Replication 命名空间