Поделиться через


Свойство 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.

The InternetTimeout property is availably only with instances of Microsoft SQL Server 2005.

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

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.