Condividi tramite


Proprietà InternetTimeout

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

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

Sintassi

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

Valore proprietà

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

Osservazioni

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.