共用方式為


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 命名空間