Gets or sets the maximum lifetime of a continuously connected client.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property MaxSessionLifetime As TimeSpan |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As JpipServerConfiguration
Dim value As TimeSpan
instance.MaxSessionLifetime = value
value = instance.MaxSessionLifetime
|
| C# | |
|---|
public TimeSpan MaxSessionLifetime {get; set;} |
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