IHttpSessionState.Mode Property   
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.
Gets the current session-state mode.
public:
 property System::Web::SessionState::SessionStateMode Mode { System::Web::SessionState::SessionStateMode get(); };public System.Web.SessionState.SessionStateMode Mode { get; }member this.Mode : System.Web.SessionState.SessionStateModePublic ReadOnly Property Mode As SessionStateModeProperty Value
One of the SessionStateMode values.
Examples
The following code example implements the Mode property of the IHttpSessionState interface.
public SessionStateMode Mode
{
  get { return pMode; }
}
Public ReadOnly Property Mode As SessionStateMode Implements IHttpSessionState.Mode    
  Get
    Return pMode
  End Get
End Property
Remarks
For information on different session-state modes, see Session-State Modes.