共用方式為


LoginTimeout 屬性

Get or sets the number of seconds before the login times out for connections made by the agent.

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

語法

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

value = instance.LoginTimeout

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

屬性值

型別:System. . :: . .Int32
An Int32 value.

備註

The default value for LoginTimeout is 15 seconds.