Gets the maximum lifetime of a continuously connected client.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable ReadOnly Property MaxSessionLifetime As TimeSpan |
C# | |
---|
public virtual TimeSpan MaxSessionLifetime {get;} |
C++/CLI | |
---|
public:
virtual property TimeSpan MaxSessionLifetime {
TimeSpan get();
} |
Return Value
A
TimeSpan value specifying the maximum time a client can stay connected.
Example
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also