Skip to main content
A newer version of this page is available. .

DocumentManager Members

A server document manager that provides the means to operate the currently opened office documents.

Properties

Name Description
EnableHibernation static Gets or sets a value specifying whether the document work session hibernation is enabled or disabled. The default value is false.
HibernateAllDocumentsOnApplicationEnd static Gets or sets a value that specifies whether all open documents should be hibernated on application end.
HibernatedDocumentsDisposeTimeout static Specifies how long hibernated documents are stored on the server before disposal.
HibernateTimeout static Specifies the idle timeout after which an open document is hibernated.
HibernationStoragePath static Specifies the path to the server directory to which documents are hibernated.
StateProvider static Specifies a custom session-state store provider.

Methods

Name Description
CloseAllDocuments() static Closes all open documents.
CloseDocument(String) static Closes the specified document.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindDocument(String, Boolean) static Finds a document by its identifier
FindDocument(String) static Finds a document by its identifier.
GetAllDocuments() static Gets access to all open documents.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HibernateAllDocuments() static Hibernates all open documents.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
AutoSaving static Enables you to process the auto saving of an Office document (a Spreadsheet or RichEdit document).
See Also