ReportViewerWebPart.KeepSessionAlive 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示 ReportViewerWebPart 是否应防止用户会话过期。
public:
property bool KeepSessionAlive { bool get(); void set(bool value); };
[Microsoft.SharePoint.WebPartPages.WebPartStorage(Microsoft.SharePoint.WebPartPages.Storage.Shared)]
public bool KeepSessionAlive { get; set; }
[<Microsoft.SharePoint.WebPartPages.WebPartStorage(Microsoft.SharePoint.WebPartPages.Storage.Shared)>]
member this.KeepSessionAlive : bool with get, set
Public Property KeepSessionAlive As Boolean
属性值
为 true 可防止用户会话过期;否则为 false。 默认值为 true。
- 属性
注解
true如果在 SharePoint 应用程序) 中启用了会话,则将此属性设置为会使 " ReportViewer " 控件保持 ASP.NET 会话过期 (。 此外,当报表查看器 Web 部件处于连接模式时,它会导致 ReportViewerWebPart 与 Report Server 保持会话过期。