Sdílet prostřednictvím


MergePullSubscription.InternetTimeout Property

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

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

Property Value

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

Remarks

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.