The DeleteProfile2 method deletes an existing profile.
HRESULT DeleteProfile2(
[in] BSTR p_wsProfileId
);
Parameters:
p_wsProfileId[in] the id of the profile to delete.Return values:
S_OK on success or COM error codeNV_NOT_INITIALIZED - Initialize was not calledNV_SERVICE_ERROR - error connecting to novaPDF Server serviceNV_PROFILE_DELETE_ERROR - error deleting profileNV_PROFILE_ERROR - error reading profiles