Właściwość ReportViewerWebPart.KeepSessionAlive
Pobiera lub ustawia wartość logiczna wartość wskazująca, czy ReportViewerWebPart należy zachować sesja użytkownika z upływającym.
Przestrzeń nazw: Microsoft.ReportingServices.SharePoint.UI.WebParts
Zestaw: Microsoft.ReportingServices.SharePoint.UI.WebParts (w Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Składnia
'Deklaracja
<WebPartStorageAttribute(Storage.Shared)> _
Public Property KeepSessionAlive As Boolean
Get
Set
'Użycie
Dim instance As ReportViewerWebPart
Dim value As Boolean
value = instance.KeepSessionAlive
instance.KeepSessionAlive = value
[WebPartStorageAttribute(Storage.Shared)]
public bool KeepSessionAlive { get; set; }
[WebPartStorageAttribute(Storage::Shared)]
public:
property bool KeepSessionAlive {
bool get ();
void set (bool value);
}
[<WebPartStorageAttribute(Storage.Shared)>]
member KeepSessionAlive : bool with get, set
function get KeepSessionAlive () : boolean
function set KeepSessionAlive (value : boolean)
Wartość właściwości
Typ: System.Boolean
TRUE do sesja użytkownika wygaśnięcia; w przeciwnym razie false.Wartością domyślną jest true.
Uwagi
Ustawienie tej właściwość na true powoduje ReportViewer formantu, aby zachować ASP.NET session wygaśnięcia (Jeśli sesja jest włączona w aplikacji SharePoint).Również, gdy składnik Web Part Podgląd raportu jest w trybie połączonych, powoduje ReportViewerWebPart do prowadzenia sesja z serwer raportów z upływającym.
Zobacz także