ReportViewerWebPart.KeepSessionAlive 属性

定义

获取或设置一个值,该值指示 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

属性值

Boolean

true 可防止用户会话过期;否则为 false。 默认值为 true

属性

注解

true如果在 SharePoint 应用程序) 中启用了会话,则将此属性设置为会使 " ReportViewer " 控件保持 ASP.NET 会话过期 (。 此外,当报表查看器 Web 部件处于连接模式时,它会导致 ReportViewerWebPart 与 Report Server 保持会话过期。

适用于