ImportNtmsDatabase

[This is preliminary documentation and subject to change.]

The ImportNtmsDatabase function causes RSM to import the database files from the %SystemRoot%\System32\NtmsData\Export directory at the next restart of the RSM.

DWORD WINAPI ImportNtmsDatabase(
  HANDLE hSession 
);
 

Parameters

hSession
Handle to the session returned by the OpenNtmsSession function.

Return Values

ERROR_ACCESS_DENIED
Access to at least one RSM object is denied.
ERROR_DATABASE_FAILURE
The database query or update failed.
ERROR_INVALID_HANDLE
The value specified in the hSession parameter is invalid.
ERROR_NOT_CONNECTED
Unable to connect to the RSM.
ERROR_SUCCESS
The function was successful.

Remarks

The ImportNtmsDatabase function is used by backup applications during disaster recovery.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in ntmsapi.h.
  Import Library: Use ntmsapi.lib.

See Also

Database Backup and Recovery Functions, ExportNtmsDatabase