Skip to content

Latest commit

 

History

History
142 lines (119 loc) · 3.08 KB

nf-ntmsapi-importntmsdatabase.md

File metadata and controls

142 lines (119 loc) · 3.08 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:ntmsapi.ImportNtmsDatabase
ImportNtmsDatabase function (ntmsapi.h)
The ImportNtmsDatabase function causes RSM to import the database files from the database Export directory at the next restart of the RSM.
ImportNtmsDatabase
ImportNtmsDatabase function [Files]
_zaw_importntmsdatabase
base.importntmsdatabase
fs.importntmsdatabase
ntmsapi/ImportNtmsDatabase
fs\importntmsdatabase.htm
fs
9bb41109-6548-4d22-92c8-0d8ed960f119
12/05/2018
ImportNtmsDatabase, ImportNtmsDatabase function [Files], _zaw_importntmsdatabase, base.importntmsdatabase, fs.importntmsdatabase, ntmsapi/ImportNtmsDatabase
ntmsapi.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Ntmsapi.lib
Ntmsapi.dll
Windows
19H1
ImportNtmsDatabase
ntmsapi/ImportNtmsDatabase
c++
APIRef
kbSyntax
DllExport
Ntmsapi.dll
ImportNtmsDatabase

ImportNtmsDatabase function

-description

[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]

The ImportNtmsDatabase function causes RSM to import the database files from the database Export directory at the next restart of the RSM.

-parameters

-param hSession [in]

Handle to the session returned by the OpenNtmsSession function.

-returns

This function returns one of the following values.

Value Meaning
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 not valid.
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.

-see-also

Database Backup and Recovery Functions

ExportNtmsDatabase