The methods of the Session interface are listed below. For a complete list of Session interface members, see the Session Members topic.
Close | Shutdown and invalidate this Session and release any resources it may be holding. Any currently open streaming ResultSequence objects created from this Session will also be invalidated and closed. |
Commit | Not currently implemented. |
InsertContent | Overloaded. Insert the given Content into the contentbase. This is equivalent to calling InsertContent(Content[]) with an array length of one. Upon return, the content will have been inserted and committed. Content objects that are rewindable will be automatically retried if a recoverable error occurs during transmission to the server. To specify the maximum number of retry attemtps, set an instance of RequestOptions with the desired value (RequestOptions.MaxAutoRetry}) using the DefaultRequestOptions property prior to invoking this method. |
NewAdhocQuery | Overloaded. Create a new AdhocQuery object and initialize it with the given query string and RequestOptions object. |
NewModuleInvoke | Overloaded. Create a new ModuleInvoke object and initialize it with the given module URI and RequestOptions object. |
NewModuleSpawn | Overloaded. Create a new ModuleSpawn object and initialize it with the given module URI and RequestOptions object. |
Rollback | Not currently implemented. |
SubmitRequest | Submit a Request to the contentbase and return the (possibly empty) ResultSequence. |
Session Interface | Marklogic.Xcc Namespace