SessionLifetimePolicy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the possible actions that the SPClient should use to manage the lifetime of an Excel Services session.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[System.Flags]
[System.Runtime.InteropServices.ComVisible(false)]
public enum SessionLifetimePolicy
[<System.Flags>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type SessionLifetimePolicy =
Public Enum SessionLifetimePolicy
- Inheritance
-
SessionLifetimePolicy
- Attributes
Fields
| CloseSessionOnDispose | 1 | Close the Excel Services session when the containing object (i.e. the IWorkbookSession) is disposed. |
| KeepActiveSessionAlive | 2 | Keep the Excel Services session from being closed (i.e. via periodic calls to EnsureWorkbookModel) while the containing object is in use. |
| None | 0 | Do not actively manage the Excel Services session. |
| VersionCheckOnSave | 4 | Capture the file Etag information on open and validate that the file has not changed if a Save command is issued. |