Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPAdmin::importObject ( P6KMIP_IMPORTPARAMS pObject,
p6IKMIPStr **  pUniqueId,
P6KMIP_RESULT pResult 
)
pure virtual

Requests the KMIP server to import a Managed Object with all its provided attributes.

The KMIP server is to associate all the provided attributes with the Managed Object it saves. Note, the KMIP server should restrict this operation to only an object owner or an authorized security officer.

Parameters
pObject[ in ] a Managed Object to import into the server
pUniqueId[ out ] either the original unique identifier (as defined in the request) or a new identifier assigned by the server
pResult[ out ] Server returned status indicators
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedKMIP client is not properly initialized.
P6R::eNotConnA successful call to open() is required before this function is called.
P6R::eInvalidArgOne of the pointers is NULL.
P6R::eFormatErrorParsing error occurred while parsing a KMIP server response.