共用方式為


LoginTimeout 屬性

Gets or sets the maximum number of seconds to wait for connections to be established.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Overridable Property LoginTimeout As Integer
    Get
    Set
'用途
Dim instance As MergeSynchronizationAgent
Dim value As Integer

value = instance.LoginTimeout

instance.LoginTimeout = value
public virtual int LoginTimeout { get; set; }
public:
virtual property int LoginTimeout {
    int get ();
    void set (int value);
}
abstract LoginTimeout : int with get, set
override LoginTimeout : int with get, set
function get LoginTimeout () : int
function set LoginTimeout (value : int)

屬性值

型別:System. . :: . .Int32
A Int32 value that represents a maximum time, in seconds.

實作

IMergeSynchronizationAgent. . :: . .LoginTimeout

備註

The default is 15 seconds. A value of 0 specifies that an indefinite wait is allowed.