Post Session

Posts the session version to the geodatabase.

Enabled

  • MMSessionManager must be the current extension.

  • A session node must be open in ArcMap.

  • If the session is in a versioned database, the session’s version must be postable.

Execute

  1. If the workspace is versioned, the session is posted. If the workspace is not versioned (e.g., Access database), the session is saved and not posted, but the approve actions are still performed.

  2. Closes the session.

  3. If the DoNotDeleteSession subtask parameter is null or set to 0, the session is deleted. If this value is 1, the session is not deleted and its state is set to Pending Approval. The session's version status is set to 2 for "posted."

Parameters

  • DoNotDeleteSession: takes a value of 0 or 1. 0 (or null)=delete session; 1=do not delete session.

QR code for this page

Was this helpful?