3.2.5.2.5.10 INtmsSession1::ExportNtmsDatabase (Opnum 12)

The ExportNtmsDatabase method exports the state of the server.

 HRESULT ExportNtmsDatabase();

This method has no parameters.

Return value/code

Description

0x00000000

S_OK

The call was successful.

0x80070005

ERROR_ACCESS_DENIED

Access to object was denied. For more information regarding object, see section 3.2.5.2.

0x80070020

ERROR_SHARING_VIOLATION

One of the files that needs to be written to is open.

0x800708CA

ERROR_NOT_CONNECTED

Unable to connect to the server.

0x800710D9

ERROR_DATABASE_FAILURE

The database query or update failed.

Upon receiving this message, the server MUST verify that the client has the required access rights to the database. If the client does not have the required access rights, the server MUST return ERROR_ACCESS_DENIED (0x80070005). If the client has the required access rights, ExportNtmsDatabase creates a consistent set of database files in the export directory under the RSM database directory. Any existing files in the export directory are overwritten by this method.<78>