Microsoft Internet Security and Acceleration Server 2004 SDK

IdleDisconnectTime Property of IFPCVpnNetworkL2tpPptpSettings[C++]

FPCVpnNetworkL2tpPptpSettings.IdleDisconnectTime [Visual Basic]

[C++]

The IdleDisconnectTime property gets or sets the time, in seconds, after which an inactive connection is closed.

HRESULT get_IdleDisconnectTime(
  long* plIdleDisconnectTime
);

HRESULT put_IdleDisconnectTime(
  long lIdleDisconnectTime
);

Parameters

plIdleDisconnectTime
Pointer to a 32-bit integer that is set on return to a long value specifying the time, in seconds, after which an inactive connection is closed.
lIdleDisconnectTime
A 32-bit integer value that specifies the time, in seconds, after which an inactive connection is closed.

Return Values

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is 86,400 seconds (24 hours).

Inactive sessions are disconnected only if the UseIdleDisconnectTime property is set to VARIANT_TRUE.

[Visual Basic]

The IdleDisconnectTime property gets or sets the time, in seconds, after which an inactive connection is closed.

Property IdleDisconnectTime As Long

Property Value

A 32-bit integer value that specifies the time, in seconds, after which an inactive connection is closed.

Remarks

This property is read/write. Its default value is 86,400 seconds (24 hours).

Inactive sessions are disconnected only if the UseIdleDisconnectTime property is set to True.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCVpnNetworkL2tpPptpSettings