CmisCmdlets.CmisCommandBase.SetCmisSession C# (CSharp) Method

SetCmisSession() protected method

protected SetCmisSession ( ISession session ) : void
session ISession
return void
        protected void SetCmisSession(ISession session)
        {
            _cmisSession = session;
            SessionState.PSVariable.Set(SESSION_VAR_NAME, _cmisSession);
            SetWorkingFolder(_cmisSession == null ? "" : "/"); // reset the directory to root
        }