IdeaBlade DevForce 2010 Help Reference
UsePersistentDbConnectionPerSession Property
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.Configuration Namespace > ServerSettingsElement Class : UsePersistentDbConnectionPerSession Property



Whether to use a single database connection per user session and keep it open for the entire session.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<XmlAttributeAttribute("usePersistentDbConnectionPerSession")>
<DescriptionAttribute("Whether to use a single database connection per user session and keep it open for the entire session.")>
Public Property UsePersistentDbConnectionPerSession As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ServerSettingsElement
Dim value As Boolean
 
instance.UsePersistentDbConnectionPerSession = value
 
value = instance.UsePersistentDbConnectionPerSession
C# 
[DefaultValueAttribute()]
[XmlAttributeAttribute("usePersistentDbConnectionPerSession")]
[DescriptionAttribute("Whether to use a single database connection per user session and keep it open for the entire session.")]
public bool UsePersistentDbConnectionPerSession {get; set;}
C++/CLI 
[DefaultValueAttribute()]
[XmlAttributeAttribute("usePersistentDbConnectionPerSession")]
[DescriptionAttribute("Whether to use a single database connection per user session and keep it open for the entire session.")]
public:
property bool UsePersistentDbConnectionPerSession {
   bool get();
   void set (    bool value);
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.